net/SocketDescriptors: fix includes for Windows

This commit is contained in:
Max Kellermann 2017-08-10 13:13:19 +02:00
parent da90f484aa
commit 9259e989a4

View File

@ -37,11 +37,11 @@
#include <ws2tcpip.h>
#else
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#endif
#include <errno.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <string.h>
#ifdef _WIN32