patch-include_libiptc_ipt_kernel_headers_h 696 B

1234567891011121314151617181920212223242526
  1. --- iptables-1.4.20.orig/include/libiptc/ipt_kernel_headers.h 2013-08-06 17:48:43.000000000 +0200
  2. +++ iptables-1.4.20/include/libiptc/ipt_kernel_headers.h 2013-08-15 16:58:51.960755143 +0200
  3. @@ -5,7 +5,6 @@
  4. #include <limits.h>
  5. -#if defined(__GLIBC__) && __GLIBC__ == 2
  6. #include <netinet/ip.h>
  7. #include <netinet/in.h>
  8. #include <netinet/ip_icmp.h>
  9. @@ -13,15 +12,4 @@
  10. #include <netinet/udp.h>
  11. #include <net/if.h>
  12. #include <sys/types.h>
  13. -#else /* libc5 */
  14. -#include <sys/socket.h>
  15. -#include <linux/ip.h>
  16. -#include <linux/in.h>
  17. -#include <linux/if.h>
  18. -#include <linux/icmp.h>
  19. -#include <linux/tcp.h>
  20. -#include <linux/udp.h>
  21. -#include <linux/types.h>
  22. -#include <linux/in6.h>
  23. -#endif
  24. #endif