diff options
Diffstat (limited to 'package/linux-atm/patches/patch-src_mpoad_io_c')
-rw-r--r-- | package/linux-atm/patches/patch-src_mpoad_io_c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/package/linux-atm/patches/patch-src_mpoad_io_c b/package/linux-atm/patches/patch-src_mpoad_io_c new file mode 100644 index 000000000..14dd75d00 --- /dev/null +++ b/package/linux-atm/patches/patch-src_mpoad_io_c @@ -0,0 +1,18 @@ +--- linux-atm-2.5.1.orig/src/mpoad/io.c 2007-12-11 18:46:12.000000000 +0100 ++++ linux-atm-2.5.1/src/mpoad/io.c 2013-08-17 14:41:53.542968628 +0200 +@@ -10,14 +10,7 @@ + #include <errno.h> + #include <sys/ioctl.h> + #include <sys/param.h> /* for OPEN_MAX */ +-#if __GLIBC__ >= 2 +-#include <sys/poll.h> +-#else /* ugly hack to make it compile on RH 4.2 - WA */ +-#include <syscall.h> +-#include <linux/poll.h> +-#define SYS_poll 168 +-_syscall3(int,poll,struct pollfd *,ufds,unsigned int,nfds,int,timeout); +-#endif ++#include <poll.h> + #include <atm.h> + #include <linux/types.h> + #include <linux/atmioc.h> |