summaryrefslogtreecommitdiff
path: root/ev_select.c
diff options
context:
space:
mode:
Diffstat (limited to 'ev_select.c')
-rw-r--r--ev_select.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ev_select.c b/ev_select.c
index 0333d63..a0db3b6 100644
--- a/ev_select.c
+++ b/ev_select.c
@@ -35,7 +35,9 @@
#include <unistd.h>
/* for unix systems */
-#include <sys/select.h>
+#ifndef WIN32
+# include <sys/select.h>
+#endif
#include <string.h>
#include <inttypes.h>