From: Chris Hanson Date: Mon, 14 Dec 2009 10:05:46 +0000 (-0800) Subject: Convert to use winsock2.h instead of winsock.h. X-Git-Tag: 20100708-Gtk~199 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=f9e6074e2f4a5659a7447b41db132134f67c92b3;p=mit-scheme.git Convert to use winsock2.h instead of winsock.h. --- 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;