Include winsock2.h and ws2tcpip.h instead of winsock.h.

This commit is contained in:
Jason Rumney
2007-07-14 23:03:37 +00:00
parent a25beddb33
commit a2dcccd99e
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2007-07-14 Jason Rumney <jasonr@gnu.org>
* inc/sys/socket.h: Include winsock2.h and ws2tcpip.h instead
of winsock.h.
2007-06-25 Jason Rumney <jasonr@gnu.org>
* cmdproxy.c (main): Set console codepages to "ANSI".

View File

@@ -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