|
|
@@ -0,0 +1,27 @@
|
|
|
+From 7119f3736f689ab396ca4193ac593938affd55fa Mon Sep 17 00:00:00 2001
|
|
|
+From: Yureka <[email protected]>
|
|
|
+Date: Sun, 12 Oct 2025 14:39:47 +0200
|
|
|
+Subject: 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 <[email protected]>
|
|
|
+---
|
|
|
+ lib/bridge.c | 2 +-
|
|
|
+ 1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
+
|
|
|
+--- a/lib/bridge.c
|
|
|
++++ b/lib/bridge.c
|
|
|
+@@ -2,8 +2,8 @@
|
|
|
+
|
|
|
+ #include <net/if.h>
|
|
|
+
|
|
|
+-#include "bridge.h"
|
|
|
+ #include "utils.h"
|
|
|
++#include "bridge.h"
|
|
|
+
|
|
|
+ void bridge_print_vlan_flags(__u16 flags)
|
|
|
+ {
|