From 59a133ace2827c0af8c346558c68c4c53ef13b20 Mon Sep 17 00:00:00 2001
From: Peter S. Mazinger <ps.m@gmx.net>
Date: Fri, 13 May 2011 22:10:54 +0200
Subject: [PATCH 386/396] wrapsyscall.c: include proper header for epoll

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
---
 libpthread/linuxthreads.old/wrapsyscall.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libpthread/linuxthreads.old/wrapsyscall.c b/libpthread/linuxthreads.old/wrapsyscall.c
index 5da7634..1c4ffb8 100644
--- a/libpthread/linuxthreads.old/wrapsyscall.c
+++ b/libpthread/linuxthreads.old/wrapsyscall.c
@@ -233,12 +233,12 @@ CANCELABLE_SYSCALL (ssize_t, sendto, (int fd, const __ptr_t buf, size_t n,
 #endif /* __UCLIBC_HAS_SOCKET__ */
 
 #ifdef  __UCLIBC_HAS_EPOLL__
+# include <sys/epoll.h>
 # 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 <signal.h>
 CANCELABLE_SYSCALL (int, epoll_pwait, (int epfd, struct epoll_event *events, int maxevents, int timeout,
 				       const sigset_t *set),
 		    (epfd, events, maxevents, timeout, set))
-- 
1.7.0.4

