patch-src_mpoad_io_c 595 B

123456789101112131415161718
  1. --- linux-atm-2.5.1.orig/src/mpoad/io.c 2007-12-11 18:46:12.000000000 +0100
  2. +++ linux-atm-2.5.1/src/mpoad/io.c 2013-08-17 14:41:53.542968628 +0200
  3. @@ -10,14 +10,7 @@
  4. #include <errno.h>
  5. #include <sys/ioctl.h>
  6. #include <sys/param.h> /* for OPEN_MAX */
  7. -#if __GLIBC__ >= 2
  8. -#include <sys/poll.h>
  9. -#else /* ugly hack to make it compile on RH 4.2 - WA */
  10. -#include <syscall.h>
  11. -#include <linux/poll.h>
  12. -#define SYS_poll 168
  13. -_syscall3(int,poll,struct pollfd *,ufds,unsigned int,nfds,int,timeout);
  14. -#endif
  15. +#include <poll.h>
  16. #include <atm.h>
  17. #include <linux/types.h>
  18. #include <linux/atmioc.h>