summaryrefslogtreecommitdiffstats
path: root/iptables/tests/shell/testcases
diff options
context:
space:
mode:
authorJoshua Lant <joshualant@googlemail.com>2024-08-28 13:47:31 +0100
committerPhil Sutter <phil@nwl.cc>2024-08-29 14:07:35 +0200
commit76fce22826f8e860b5eb5b5a2463040c17ff85da (patch)
tree4d6418471f7ea1dc89980372c0114062e1b37fa7 /iptables/tests/shell/testcases
parente1496f52699b11569a09603765caeca8a4aed93f (diff)
configure: Determine if musl is used for build
Error compiling with musl-libc: The commit hash 810f8568f44f5863c2350a39f4f5c8d60f762958 introduces the netinet/ether.h header into xtables.h, which causes an error due to the redefinition of the ethhdr struct, defined in linux/if_ether.h and netinet/ether.h. This is fixed by the inclusion of -D__UAPI_DEF_ETHHDR=0 in CFLAGS for musl. Automatically check for this macro, since it is defined in musl but not in glibc. Signed-off-by: Joshua Lant joshualant@gmail.com Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/tests/shell/testcases')
0 files changed, 0 insertions, 0 deletions