From db8fb8c2ce95b6127760fb59650440fd8ff5a1ba Mon Sep 17 00:00:00 2001 From: proller Date: Wed, 21 May 2014 00:25:51 +0400 Subject: [PATCH] Try to add windows tcpip headers --- include/enet/win32.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/enet/win32.h b/include/enet/win32.h index e73ca9d0..6f304ccf 100644 --- a/include/enet/win32.h +++ b/include/enet/win32.h @@ -14,6 +14,17 @@ #endif #endif + +#ifndef WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN +#endif +#ifndef _WIN32_WINNT + #define _WIN32_WINNT 0x0501 +#endif +#define NOMINMAX +#include +#include + #include #include