diff options
-rw-r--r-- | uloop.c | 1 | ||||
-rw-r--r-- | uloop.h | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -181,6 +181,7 @@ static int uloop_fetch_events(int timeout) if (u->flags & ULOOP_EDGE_DEFER) { u->flags &= ~ULOOP_EDGE_DEFER; + u->flags |= ULOOP_EDGE_TRIGGER; register_kevent(u, u->flags); } } @@ -56,7 +56,7 @@ struct uloop_fd bool error; bool registered; #ifdef USE_KQUEUE - bool flags; + uint8_t flags; #endif }; |