fd_util: include ws2tcpip.h for socklen_t
This commit is contained in:
parent
163e05f5a0
commit
006f4be71c
|
@ -39,6 +39,7 @@
|
|||
#include <errno.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#include <ws2tcpip.h>
|
||||
#include <winsock2.h>
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
|
|
Loading…
Reference in New Issue