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;