diff options
author | Ralph Sennhauser <ralph.sennhauser@gmail.com> | 2016-11-06 10:59:43 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-11-06 20:21:12 +0100 |
commit | 6015fc07618173bc9cc44890e0f9c86081c80848 (patch) | |
tree | e3aa572bfcabd08d6849181ae29d7b832f86427e /iptables.h | |
parent | 786b15ff1460e8611eaa35ec024efe08fd3a5ebe (diff) | |
download | firewall3-6015fc07618173bc9cc44890e0f9c86081c80848.tar.gz |
musl-compat: avoid kernel header conflicts
The conflict between Musls net/if.h and linux/if.h is an old well known
one and taken care of by a series of linux-headers patches in OpenWrt.
Since Linux 4.8-rc5 Firewall3 also indirectly pulls in linux/in.h and
linux/in6.h leading to new conflicts.
As Firewall3 is fine with just the libc headers prevent inclusion of the
corresponding kernel headers.
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
Diffstat (limited to 'iptables.h')
-rw-r--r-- | iptables.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -21,6 +21,9 @@ #define _GNU_SOURCE /* RTLD_NEXT */ +#define _LINUX_IF_H +#define _LINUX_IN_H +#define _LINUX_IN6_H #include <libiptc/libiptc.h> #include <libiptc/libip6tc.h> #include <xtables.h> |