summaryrefslogtreecommitdiff
path: root/src/fdevent_libev.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fdevent_libev.c')
-rw-r--r--src/fdevent_libev.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fdevent_libev.c b/src/fdevent_libev.c
index 543127a..de62676 100644
--- a/src/fdevent_libev.c
+++ b/src/fdevent_libev.c
@@ -5,6 +5,9 @@
#include <assert.h>
#ifdef USE_LIBEV
+
+# include <ev.h>
+
static void io_watcher_cb(struct ev_loop *loop, ev_io *w, int revents) {
fdevents *ev = w->data;
fdnode *fdn = ev->fdarray[w->fd];