patch-include_libiptc_ipt_kernel_headers_h 684 B

12345678910111213141516171819202122232425
  1. --- iproute2-3.12.0.orig/include/libiptc/ipt_kernel_headers.h 2013-11-23 02:10:33.000000000 +0100
  2. +++ iproute2-3.12.0/include/libiptc/ipt_kernel_headers.h 2014-04-05 05:25:40.983670487 +0200
  3. @@ -5,22 +5,10 @@
  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. #include <netinet/tcp.h>
  10. #include <netinet/udp.h>
  11. #include <sys/types.h>
  12. -#else /* libc5 */
  13. -#include <sys/socket.h>
  14. -#include <linux/ip.h>
  15. -#include <linux/in.h>
  16. -#include <linux/if.h>
  17. -#include <linux/icmp.h>
  18. -#include <linux/tcp.h>
  19. -#include <linux/udp.h>
  20. -#include <linux/types.h>
  21. -#include <linux/in6.h>
  22. -#endif
  23. #endif