uloop: do less state/change tracking for kevent() on mac os x, it is unreliable
[project/libubox.git] / uloop.h
diff --git a/uloop.h b/uloop.h
index bce3974..4be2913 100644 (file)
--- a/uloop.h
+++ b/uloop.h
@@ -21,6 +21,7 @@
 #define _ULOOP_H__
 
 #include <sys/time.h>
+#include <sys/types.h>
 #include <stdbool.h>
 #include <stdint.h>
 #include <signal.h>
@@ -53,9 +54,6 @@ struct uloop_fd
        bool eof;
        bool error;
        bool registered;
-#ifdef USE_KQUEUE
-       uint8_t kqflags;
-#endif
 };
 
 struct uloop_timeout