From a519654810520e35379acf86b3cabe09946b1adf Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 1 Sep 2015 12:04:08 +0200 Subject: [PATCH] (Android) Some build fixes --- android/phoenix/jni/apk-extract/apk-extract.c | 7 +++++-- libretro-common/compat/compat.c | 21 +++++++++++-------- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/android/phoenix/jni/apk-extract/apk-extract.c b/android/phoenix/jni/apk-extract/apk-extract.c index 630176b9cb..ffa0439f12 100644 --- a/android/phoenix/jni/apk-extract/apk-extract.c +++ b/android/phoenix/jni/apk-extract/apk-extract.c @@ -1,9 +1,12 @@ -#include -#include #include #include + +#include +#include +#include #include + #include "../native/com_retroarch_browser_NativeInterface.h" //#define VERBOSE_LOG diff --git a/libretro-common/compat/compat.c b/libretro-common/compat/compat.c index 77b898bd4c..f2a3c2241a 100644 --- a/libretro-common/compat/compat.c +++ b/libretro-common/compat/compat.c @@ -21,21 +21,24 @@ */ #include + +#ifndef HAVE_GETOPT_LONG +#include +#include +#include +#include + +#include +#endif + #include #include #include #include +#include + #ifndef HAVE_GETOPT_LONG - -#include -#include -#include -#include -#include - -#include - char *optarg; int optind, opterr, optopt;