OSDN Git Service

linuxthreads.old: fix build warnings with epoll enabled
authorMike Frysinger <vapier@gentoo.org>
Sat, 5 May 2012 19:04:53 +0000 (15:04 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 5 May 2012 19:05:23 +0000 (15:05 -0400)
Pull in the epoll header for the epoll structs.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
libpthread/linuxthreads.old/wrapsyscall.c

index 6c74bd1..7424f2e 100644 (file)
@@ -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>