summaryrefslogtreecommitdiff
path: root/src/linux
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-05-30 12:59:36 -0400
committerRich Felker <dalias@aerifal.cx>2014-05-30 12:59:36 -0400
commit24df8b09cfc85f4283283f7543c1be5d496faf09 (patch)
tree6ee004224a1b599a9a7971f4793f1edcb2fece5c /src/linux
parent8258014fd1e34e942a549c88c7e022a00445c352 (diff)
downloadmusl-24df8b09cfc85f4283283f7543c1be5d496faf09.tar.gz
musl-24df8b09cfc85f4283283f7543c1be5d496faf09.tar.bz2
musl-24df8b09cfc85f4283283f7543c1be5d496faf09.tar.xz
musl-24df8b09cfc85f4283283f7543c1be5d496faf09.zip
fix breakage from recent syscall commits due to missing errno macros
Diffstat (limited to 'src/linux')
-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()