Include ws2tcpip.h header (for getaddrinfo) on Windows

This commit is contained in:
James Turner
2011-08-24 11:25:37 +01:00
parent 3753d50992
commit fa27207351

View File

@@ -39,7 +39,8 @@
#include <errno.h>
#if defined(WINSOCK)
# include <winsock.h>
# include <winsock2.h>
# include <ws2tcpip.h>
# include <stdarg.h>
#else
# include <sys/types.h>