From 676c75fb1826a2d24c4ec3a929b1c1634787c9a5 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 10 Jan 2015 19:25:00 +0100 Subject: poll: more include cleanup --- src/poll.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/poll.c b/src/poll.c index 899c9e2..549d097 100644 --- a/src/poll.c +++ b/src/poll.c @@ -40,6 +40,7 @@ #ifdef USE_EPOLL #include +#include #endif @@ -67,16 +68,11 @@ static inline int handshake_timeout(void) { #ifdef USE_EPOLL -#include -#include -#include - #ifndef SYS_epoll_pwait #define SYS_epoll_pwait __NR_epoll_pwait #endif - /** Simplified epoll_pwait wrapper (as there are systems without or with broken epoll_pwait) */ static inline int epoll_wait_unblocked(int epfd, struct epoll_event *events, int maxevents, int timeout) { const uint8_t buf[_NSIG/8] = {}; -- cgit v1.2.3