]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
add a couple more things back
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 14 May 2009 22:25:55 +0000 (22:25 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 14 May 2009 22:25:55 +0000 (22:25 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8965 d7cf8633-e32d-0410-b094-e92efae38249

lhnet.c

diff --git a/lhnet.c b/lhnet.c
index 00a6c78b935b77e05dcd0332f8e242aa9d6c7051..f51ea3a922b23595291615e0d469682339fe125f 100644 (file)
--- a/lhnet.c
+++ b/lhnet.c
@@ -3,6 +3,8 @@
 
 #ifdef WIN32
 // Windows XP or higher is required for getaddrinfo, but the inclusion of wspiapi provides fallbacks for older versions
+#define _WIN32_WINNT 0x0501
+#include <winsock2.h>
 #include <ws2tcpip.h>
 #include <wspiapi.h>
 #endif