don't include sys/select on windows

This commit is contained in:
Enzo AGUADO 2018-05-07 16:59:08 +08:00
parent 632df52b4f
commit 911e620a54

View file

@ -48,6 +48,7 @@ typedef SOCKET socket_t;
#include <arpa/inet.h>
#include <signal.h>
#include <sys/socket.h>
#include <sys/select.h>
typedef int socket_t;
#endif
@ -61,7 +62,6 @@ typedef int socket_t;
#include <string>
#include <thread>
#include <sys/stat.h>
#include <sys/select.h>
#include <fcntl.h>
#include <assert.h>