From 15a2d3ea45a26875a4c1199660c88a5cb6aed070 Mon Sep 17 00:00:00 2001 From: notaz Date: Thu, 27 Aug 2015 00:20:28 +0300 Subject: [PATCH] fix build --- .gitmodules | 3 +++ common/host_fb.c | 2 +- common/libpicofe | 1 + loader/host.c | 8 ++++---- 4 files changed, 9 insertions(+), 5 deletions(-) create mode 160000 common/libpicofe diff --git a/.gitmodules b/.gitmodules index d3a2814..2dd4422 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "common/warm"] path = common/warm url = git://notaz.gp2x.de/~notaz/warm.git +[submodule "common/libpicofe"] + path = common/libpicofe + url = git://notaz.gp2x.de/~notaz/libpicofe.git diff --git a/common/host_fb.c b/common/host_fb.c index be6d934..4583a4c 100644 --- a/common/host_fb.c +++ b/common/host_fb.c @@ -16,7 +16,7 @@ static int host_stride; #if defined(PND) -#include "linux/fbdev.c" +#include "libpicofe/linux/fbdev.c" static struct vout_fbdev *fbdev; static unsigned short host_pal[256]; diff --git a/common/libpicofe b/common/libpicofe new file mode 160000 index 0000000..26ea181 --- /dev/null +++ b/common/libpicofe @@ -0,0 +1 @@ +Subproject commit 26ea18173c1228dd5ce39e2a88ffe1ae10fcb365 diff --git a/loader/host.c b/loader/host.c index 9663964..fc7a829 100644 --- a/loader/host.c +++ b/loader/host.c @@ -1,6 +1,6 @@ // vim:shiftwidth=2:expandtab -#define _GNU_SOURCE // for plat.c +#define _GNU_SOURCE 1 // for plat.c #include #include @@ -8,9 +8,9 @@ #include "realfuncs.h" #define IN_EVDEV -#include "../common/common/input.c" -#include "../common/linux/plat.c" -#include "../common/linux/in_evdev.c" +#include "../common/libpicofe/input.c" +#include "../common/libpicofe/linux/plat.c" +#include "../common/libpicofe/linux/in_evdev.c" #ifdef PND #include "host_pnd.c" -- 2.39.2