diff --git a/tools/retroarch-joyconfig-griffin.c b/tools/retroarch-joyconfig-griffin.c index 484714d598..354c1ef7e8 100644 --- a/tools/retroarch-joyconfig-griffin.c +++ b/tools/retroarch-joyconfig-griffin.c @@ -59,8 +59,10 @@ #include "../file_path_special.c" #include "../libretro-common/string/string_list.c" #include "../libretro-common/compat/compat_strl.c" +#if defined(_WIN32) && !defined(_XBOX) #include "../libretro-common/compat/compat_posix_string.c" #include "../libretro-common/compat/compat_getopt.c" +#endif #include "../input/drivers/nullinput.c" #include "../input/drivers_hid/null_hid.c"