From dcdc43505f3bb8ff54810caf194a9fd6b23b2df4 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 11 Feb 2014 13:19:18 +0100 Subject: [PATCH] (360) netplay_compat - 360 build fixes --- netplay_compat.h | 3 +++ 1 file changed, 3 insertions(+) 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