Files
linux-stable-mirror/include/uapi/linux
Phil Sutter e0ee0e6c2b include: uapi: netfilter_bridge.h: Cover for musl libc
[ Upstream commit 4edd4ba71c ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-03-04 07:20:07 -05:00
..
2024-06-21 14:53:46 +02:00
2023-11-08 17:30:43 +01:00
2025-08-28 16:22:38 +02:00
2025-10-02 13:35:46 +02:00
2023-09-19 12:20:18 +02:00