uloop: ensure SIGCHLD is properly received on mac os x
[oweals/libubox.git] / uloop.h
diff --git a/uloop.h b/uloop.h
index bce3974facab201b93d14349dcc60c6b78f3f0f9..4be2913e3e35129de712643e9e99b811580c7601 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