]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix USE_WSPIAPI_H
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 2 Nov 2009 01:15:50 +0000 (01:15 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 2 Nov 2009 01:15:50 +0000 (01:15 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9414 d7cf8633-e32d-0410-b094-e92efae38249

lhnet.c

diff --git a/lhnet.c b/lhnet.c
index 8b71ed91a53a90611f9393e637450c3aabb49dd0..6b049d2890b8cd79fc3df1acf0383af0cf31e060 100644 (file)
--- a/lhnet.c
+++ b/lhnet.c
@@ -5,10 +5,9 @@
 // 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>
 # ifdef USE_WSPIAPI_H
 #  include <wspiapi.h>
-# else
-#  include <ws2tcpip.h>
 # endif
 #endif