From 47adeb6a1c9f33bbde7598d6cb2f5c5c37afdc71 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 23 Apr 2012 17:58:42 +0200 Subject: wrapsyscall.c: include proper header for epoll Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libpthread/linuxthreads.old/wrapsyscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpthread/linuxthreads.old') diff --git a/libpthread/linuxthreads.old/wrapsyscall.c b/libpthread/linuxthreads.old/wrapsyscall.c index 469930f9e..e419e54f0 100644 --- a/libpthread/linuxthreads.old/wrapsyscall.c +++ b/libpthread/linuxthreads.old/wrapsyscall.c @@ -228,12 +228,12 @@ CANCELABLE_SYSCALL (ssize_t, sendto, (int fd, const __ptr_t buf, size_t n, #endif /* __UCLIBC_HAS_SOCKET__ */ #ifdef __UCLIBC_HAS_EPOLL__ +# include # ifdef __NR_epoll_wait CANCELABLE_SYSCALL (int, epoll_wait, (int epfd, struct epoll_event *events, int maxevents, int timeout), (epfd, events, maxevents, timeout)) # endif # ifdef __NR_epoll_pwait -# include CANCELABLE_SYSCALL (int, epoll_pwait, (int epfd, struct epoll_event *events, int maxevents, int timeout, const sigset_t *set), (epfd, events, maxevents, timeout, set)) -- cgit v1.2.3