fd_util: include ws2tcpip.h for socklen_t

This commit is contained in:
Max Kellermann 2010-01-17 14:48:52 +01:00
parent 163e05f5a0
commit 006f4be71c

View File

@ -39,6 +39,7 @@
#include <errno.h> #include <errno.h>
#ifdef WIN32 #ifdef WIN32
#include <ws2tcpip.h>
#include <winsock2.h> #include <winsock2.h>
#else #else
#include <sys/socket.h> #include <sys/socket.h>