summaryrefslogtreecommitdiff
path: root/src/fdevent_linux_sysepoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fdevent_linux_sysepoll.c')
-rw-r--r--src/fdevent_linux_sysepoll.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fdevent_linux_sysepoll.c b/src/fdevent_linux_sysepoll.c
index b311f45..f761ed6 100644
--- a/src/fdevent_linux_sysepoll.c
+++ b/src/fdevent_linux_sysepoll.c
@@ -13,6 +13,9 @@
#include <fcntl.h>
#ifdef USE_LINUX_EPOLL
+
+# include <sys/epoll.h>
+
static void fdevent_linux_sysepoll_free(fdevents *ev) {
close(ev->epoll_fd);
free(ev->epoll_events);