[git commit branch/0.9.33] linuxthreads.old: fix build warnings with epoll enabled

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Tue May 15 07:14:40 UTC 2012


commit: http://git.uclibc.org/uClibc/commit/?id=50696e0b147b14871c5684f4bb98b8c49f55dc3d
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/0.9.33

Pull in the epoll header for the epoll structs.

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 libpthread/linuxthreads.old/wrapsyscall.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libpthread/linuxthreads.old/wrapsyscall.c b/libpthread/linuxthreads.old/wrapsyscall.c
index 6c74bd1..7424f2e 100644
--- a/libpthread/linuxthreads.old/wrapsyscall.c
+++ b/libpthread/linuxthreads.old/wrapsyscall.c
@@ -28,6 +28,7 @@
 #include <stddef.h>
 #include <stdlib.h>
 #include <termios.h>
+#include <sys/epoll.h>
 #include <sys/resource.h>
 #include <sys/wait.h>
 #include <sys/socket.h>


More information about the uClibc-cvs mailing list