summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/linux/epoll.c1
-rw-r--r--src/linux/eventfd.c1
-rw-r--r--src/linux/inotify.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/linux/epoll.c b/src/linux/epoll.c
index b45344fb..deff5b10 100644
--- a/src/linux/epoll.c
+++ b/src/linux/epoll.c
@@ -1,5 +1,6 @@
#include <sys/epoll.h>
#include <signal.h>
+#include <errno.h>
#include "syscall.h"
int epoll_create(int size)
diff --git a/src/linux/eventfd.c b/src/linux/eventfd.c
index 39968034..68e489c8 100644
--- a/src/linux/eventfd.c
+++ b/src/linux/eventfd.c
@@ -1,5 +1,6 @@
#include <sys/eventfd.h>
#include <unistd.h>
+#include <errno.h>
#include "syscall.h"
int eventfd(unsigned int count, int flags)
diff --git a/src/linux/inotify.c b/src/linux/inotify.c
index 84a56154..df5e48b3 100644
--- a/src/linux/inotify.c
+++ b/src/linux/inotify.c
@@ -1,4 +1,5 @@
#include <sys/inotify.h>
+#include <errno.h>
#include "syscall.h"
int inotify_init()