fix breakage from recent syscall commits due to missing errno macros

This commit is contained in:
Rich Felker 2014-05-30 12:59:36 -04:00
parent 8258014fd1
commit 24df8b09cf
3 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,6 @@
#include <sys/epoll.h> #include <sys/epoll.h>
#include <signal.h> #include <signal.h>
#include <errno.h>
#include "syscall.h" #include "syscall.h"
int epoll_create(int size) int epoll_create(int size)

View File

@ -1,5 +1,6 @@
#include <sys/eventfd.h> #include <sys/eventfd.h>
#include <unistd.h> #include <unistd.h>
#include <errno.h>
#include "syscall.h" #include "syscall.h"
int eventfd(unsigned int count, int flags) int eventfd(unsigned int count, int flags)

View File

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