]> git.llucax.com Git - software/libev.git/blobdiff - event_compat.h
fix kqueue c++ support
[software/libev.git] / event_compat.h
index 258a83fb09acbc99290cdc8eabb4650b0d964e6a..84ca5bfd18b6a2f7f6b8dc6d1207d987eb194142 100644 (file)
@@ -28,6 +28,9 @@
 extern "C" {
 #endif
 
 extern "C" {
 #endif
 
+#ifndef WIN32
+#include <sys/types.h>
+#endif
 #include <sys/time.h>
 #include <stdint.h>
 #include <stdarg.h>
 #include <sys/time.h>
 #include <stdint.h>
 #include <stdarg.h>