diff options
| author | Phil Sutter <phil@nwl.cc> | 2026-02-14 15:54:06 +0100 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2026-02-17 15:04:20 +0100 |
| commit | 4edd4ba71ce0df015303dba75ea9d20d1a217546 (patch) | |
| tree | 1e4ee50acd41830cc3065cca93e5905bf9247c2a /net | |
| parent | a6d28eb8efe96b3e35c92efdf1bfacb0cccf541f (diff) | |
include: uapi: netfilter_bridge.h: Cover for musl libc
Musl defines its own struct ethhdr and thus defines __UAPI_DEF_ETHHDR to
zero. To avoid struct redefinition errors, user space is therefore
supposed to include netinet/if_ether.h before (or instead of)
linux/if_ether.h. To relieve them from this burden, include the libc
header here if not building for kernel space.
Reported-by: Alyssa Ross <hi@alyssa.is>
Suggested-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions
