diff --git a/engine/client/cl_main.c b/engine/client/cl_main.c index 301ac1460..dee80ae90 100644 --- a/engine/client/cl_main.c +++ b/engine/client/cl_main.c @@ -23,11 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "quakedef.h" #include "winquake.h" #include -#ifdef _WIN32 -#include "winsock.h" -#else -#include -#endif +#include "netinc.h" #if defined(_WIN32) && !defined(MINGW) && defined(RGLQUAKE) #define WINAVI diff --git a/engine/common/netinc.h b/engine/common/netinc.h index 854f0855f..cf3e8f1be 100644 --- a/engine/common/netinc.h +++ b/engine/common/netinc.h @@ -23,6 +23,7 @@ #include #include #include + #include #include #include #include