projects
/
NextIRCd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[IOMultiplexerV2] started to implement c-ares backend
[NextIRCd.git]
/
src
/
IOHandler
/
IOEngine_select.c
diff --git
a/src/IOHandler/IOEngine_select.c
b/src/IOHandler/IOEngine_select.c
index 0d95116cd1303b2c15f5e10c2fa57d2a75345f57..b725572067b32c213e5cd62894b1021a43710ec3 100644
(file)
--- a/
src/IOHandler/IOEngine_select.c
+++ b/
src/IOHandler/IOEngine_select.c
@@
-23,13
+23,14
@@
#include <errno.h>
#include <time.h>
#include <errno.h>
#include <time.h>
+#include <string.h>
+#include <stdio.h>
#ifdef WIN32
#define _WIN32_WINNT 0x501
#include <windows.h>
#include <winsock2.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 */
#endif
/* compat */