From f9e6074e2f4a5659a7447b41db132134f67c92b3 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Mon, 14 Dec 2009 02:05:46 -0800 Subject: [PATCH] Convert to use winsock2.h instead of winsock.h. --- src/microcode/ntsock.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/microcode/ntsock.c b/src/microcode/ntsock.c index 68dd2fe11..ef8d4cdbc 100644 --- a/src/microcode/ntsock.c +++ b/src/microcode/ntsock.c @@ -26,13 +26,16 @@ USA. /* This conditional encompasses the entire file. */ #ifndef DISABLE_SOCKET_SUPPORT +/* Needed for winsock2 include below. */ +#define WIN32_LEAN_AND_MEAN + #include "scheme.h" #include "prims.h" #include "nt.h" #include "ntio.h" #include "uxsock.h" -#include +#include channel_class_t * NT_channel_class_tcp_stream_socket; channel_class_t * NT_channel_class_tcp_server_socket; -- 2.25.1