Browse Source

fix breakage from recent syscall commits due to missing errno macros

Rich Felker 10 years ago
parent
commit
24df8b09cf
3 changed files with 3 additions and 0 deletions
  1. 1 0
      src/linux/epoll.c
  2. 1 0
      src/linux/eventfd.c
  3. 1 0
      src/linux/inotify.c

+ 1 - 0
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)

+ 1 - 0
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)

+ 1 - 0
src/linux/inotify.c

@@ -1,4 +1,5 @@
 #include <sys/inotify.h>
+#include <errno.h>
 #include "syscall.h"
 
 int inotify_init()