From fe954b2fb17d813aaab3e926cee76144314a115a Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 17 Jun 2017 16:22:55 -0700 Subject: [PATCH 3/3] mpoad: Drop old hack to compile with very old glibc Use poll.h instead of sys/poll.h Upstream-Status: Pending Signed-off-by: Khem Raj --- src/mpoad/io.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/mpoad/io.c b/src/mpoad/io.c index 69900c2..8d1433f 100644 --- a/src/mpoad/io.c +++ b/src/mpoad/io.c @@ -10,14 +10,7 @@ #include #include #include /* for OPEN_MAX */ -#if __GLIBC__ >= 2 -#include -#else /* ugly hack to make it compile on RH 4.2 - WA */ -#include -#include -#define SYS_poll 168 -_syscall3(int,poll,struct pollfd *,ufds,unsigned int,nfds,int,timeout); -#endif +#include #include #include #include -- 2.13.1