diff --git a/src/common/ConfigManager.h b/src/common/ConfigManager.h index 20fca14b..ddf39bd6 100644 --- a/src/common/ConfigManager.h +++ b/src/common/ConfigManager.h @@ -8,10 +8,14 @@ #ifndef __GNUC__ #define HAVE_DECL_GETOPT 0 #define __STDC__ 1 +#ifndef __LIBRETRO__ #include "getopt.h" +#endif #else // ! __GNUC__ #define HAVE_DECL_GETOPT 1 +#ifndef __LIBRETRO__ #include +#endif #endif // ! __GNUC__ #define MAX_CHEATS 16384