summaryrefslogtreecommitdiff
path: root/nt/inc
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2007-07-14 23:03:37 +0000
committerJason Rumney <jasonr@gnu.org>2007-07-14 23:03:37 +0000
commita2dcccd99e11e8155b42111148909967e58d71c6 (patch)
treee444d28574410eedb8c0d15da19d07fb5c600767 /nt/inc
parenta25beddb336ccc3f7d40dc7e9c73e042bf1da366 (diff)
downloademacs-a2dcccd99e11e8155b42111148909967e58d71c6.tar.gz
Include winsock2.h and ws2tcpip.h instead of winsock.h.
Diffstat (limited to 'nt/inc')
-rw-r--r--nt/inc/sys/socket.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nt/inc/sys/socket.h b/nt/inc/sys/socket.h
index 0923dd9246b..2e52c74691e 100644
--- a/nt/inc/sys/socket.h
+++ b/nt/inc/sys/socket.h
@@ -51,7 +51,8 @@ Boston, MA 02110-1301, USA. */
#define timeval ws_timeval
#endif
-#include <winsock.h>
+#include <winsock2.h>
+#include <ws2tcpip.h>
/* redefine select to reference our version */
#ifdef MUST_REDEF_SELECT