Files
android_kernel_fxtec_sm6115/include/uapi/linux
Phil Sutter a686f26bf5 include: uapi: netfilter_bridge.h: Cover for musl libc
[ Upstream commit 4edd4ba71ce0df015303dba75ea9d20d1a217546 ]

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>
Signed-off-by: Ulrich Hecht <uli@kernel.org>
2026-04-12 13:56:48 +08:00
..
2020-06-07 13:17:54 +02:00
2018-08-22 10:52:49 -07:00
2020-01-27 14:51:14 +01:00
2018-11-13 11:08:46 -08:00
2023-09-23 10:48:08 +02:00
2018-10-08 15:45:18 +01:00