diff --git a/netplay_compat.h b/netplay_compat.h index 6827090a97..6b1a6a9412 100644 --- a/netplay_compat.h +++ b/netplay_compat.h @@ -31,6 +31,7 @@ #elif defined(_XBOX) #define NOD3D #include +#include #else #include #include @@ -57,7 +58,9 @@ #if defined(_WIN32) // Woohoo, Winsock has headers from the STONE AGE. :D +#ifndef _XBOX360 #define close(x) closesocket(x) +#endif #define CONST_CAST (const char*) #define NONCONST_CAST (char*) #else