[IOMultiplexerV2] started to implement c-ares backend
[NextIRCd.git] / src / IOHandler / IOEngine_select.c
index 0d95116cd1303b2c15f5e10c2fa57d2a75345f57..b725572067b32c213e5cd62894b1021a43710ec3 100644 (file)
 
 #include <errno.h>
 #include <time.h>
+#include <string.h>
+#include <stdio.h>
 #ifdef WIN32
 #define _WIN32_WINNT 0x501
 #include <windows.h>
 #include <winsock2.h>
-#else
-#include <string.h>
-#include <stdio.h>
+#elif defined HAVE_SYS_SELECT_H
+#include <sys/select.h>
 #endif
 
 /* compat */