瀏覽代碼

fix breakage from recent syscall commits due to missing errno macros

Rich Felker 10 年之前
父節點
當前提交
24df8b09cf
共有 3 個文件被更改,包括 3 次插入0 次删除
  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()