]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - lhnet.c
Bounds
[xonotic/darkplaces.git] / lhnet.c
diff --git a/lhnet.c b/lhnet.c
index 99b9f144f941d9a3c1459c0ac781e1130c901773..e2e513ee7bfdbc1d73b145a13f7ae7bb11ef889e 100644 (file)
--- a/lhnet.c
+++ b/lhnet.c
@@ -2,6 +2,9 @@
 // Written by Forest Hale 2003-06-15 and placed into public domain.
 
 #ifdef WIN32
+#ifdef _MSC_VER
+#pragma comment(lib, "ws2_32.lib")
+#endif
 # ifdef SUPPORTIPV6
 // Windows XP or higher is required for getaddrinfo, but the inclusion of wspiapi provides fallbacks for older versions
 # define _WIN32_WINNT 0x0501