diff options
author | Felix Janda <felix.janda@posteo.de> | 2015-05-02 21:51:38 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2015-05-08 16:02:56 +0200 |
commit | 0bb1859e2d6dd79a0a59c3ee65f6a78cba118b86 (patch) | |
tree | 9a046a21e1284eb0e58385e81365a874a1d0f352 /include | |
parent | 043e52bc42021f71b85229f6d78bf7e75b282765 (diff) |
include: remove libc5 support code
Current code makes the assumption that !defined(__GLIBC__) means libc5
which is very unlikely the case nowadays.
Fixes compile error because of conflict between kernel and musl headers.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/libiptc/ipt_kernel_headers.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/libiptc/ipt_kernel_headers.h b/include/libiptc/ipt_kernel_headers.h index 18861fe5..a5963e94 100644 --- a/include/libiptc/ipt_kernel_headers.h +++ b/include/libiptc/ipt_kernel_headers.h @@ -5,7 +5,6 @@ #include <limits.h> -#if defined(__GLIBC__) && __GLIBC__ == 2 #include <netinet/ip.h> #include <netinet/in.h> #include <netinet/ip_icmp.h> @@ -13,15 +12,4 @@ #include <netinet/udp.h> #include <net/if.h> #include <sys/types.h> -#else /* libc5 */ -#include <sys/socket.h> -#include <linux/ip.h> -#include <linux/in.h> -#include <linux/if.h> -#include <linux/icmp.h> -#include <linux/tcp.h> -#include <linux/udp.h> -#include <linux/types.h> -#include <linux/in6.h> -#endif #endif |