From: Yureka Date: Sun, 12 Oct 2025 12:39:47 +0000 (+0200) Subject: lib: bridge: avoid redefinition of in6_addr X-Git-Tag: v6.18.0~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25b2834cc974729229afcd308f127995405f85c5;p=thirdparty%2Fiproute2.git lib: bridge: avoid redefinition of in6_addr On musl libc, which does not use the kernel definitions of in6_addr, including the libc headers after the kernel (UAPI) headers would cause a redefinition error. The opposite order avoids the redefinition. Fixes: 9e89d5b94d749f37525cd8778311e1c9f28f172a Signed-off-by: Yureka Signed-off-by: Stephen Hemminger --- diff --git a/lib/bridge.c b/lib/bridge.c index 5386aa01..104f5858 100644 --- a/lib/bridge.c +++ b/lib/bridge.c @@ -2,8 +2,8 @@ #include -#include "bridge.h" #include "utils.h" +#include "bridge.h" void bridge_print_vlan_flags(__u16 flags) {