소스 검색

don't include sys/select on windows

Enzo AGUADO 7 년 전
부모
커밋
911e620a54
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      httplib.h

+ 1 - 1
httplib.h

@@ -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>