From: notaz Date: Wed, 26 Aug 2015 21:20:28 +0000 (+0300) Subject: fix build X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15a2d3ea45a26875a4c1199660c88a5cb6aed070;p=ginge.git fix build --- 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"