diff --git a/file.c b/file.c index a40d276a79..4c0700b19e 100644 --- a/file.c +++ b/file.c @@ -26,15 +26,12 @@ #include "compat/strl.h" #include "hash.h" -#ifdef _XBOX360 -#include -#endif - #if defined(_WIN32) && !defined(_XBOX) #include #include #include #elif defined(_XBOX) +#include #define setmode _setmode #define INVALID_FILE_ATTRIBUTES -1 #endif diff --git a/general.h b/general.h index 60e54f451e..e95c468deb 100644 --- a/general.h +++ b/general.h @@ -64,7 +64,7 @@ #if defined(_WIN32) && !defined(_XBOX) #define WIN32_LEAN_AND_MEAN #include -#elif defined(_XBOX360) +#elif defined(_XBOX) #include #endif