aboutsummaryrefslogtreecommitdiff
path: root/lib/setup.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-11-23 09:10:00 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-11-23 09:10:00 +0000
commit599d9642ca92a8f9b6feaef20844c1ef4f41dbcc (patch)
tree82f7def9e506323265848e3d5cf9b6b1302dc462 /lib/setup.h
parent0264faaa4e3679e1c38f4cbdc860b18f68f2efe7 (diff)
Yang Tse fixed MSVC 6.0 warnings
Diffstat (limited to 'lib/setup.h')
-rw-r--r--lib/setup.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/setup.h b/lib/setup.h
index 5249d2e5f..ce0fc5075 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -169,8 +169,10 @@ typedef unsigned char bool;
#endif
#if defined(ENABLE_IPV6) || defined(USE_SSLEAY)
+#if !defined(_MSC_VER) || (_MSC_VER >= 1300)
#include <ws2tcpip.h>
#endif
+#endif
#if !defined(__GNUC__) || defined(__MINGW32__)
#define sclose(x) closesocket(x)