From 3095b3b68b4b722cb19ed9d3560c4664da75530f Mon Sep 17 00:00:00 2001 From: cyrus Date: Sat, 17 Jan 2015 10:58:29 +0000 Subject: [PATCH] iproute2: fix header problem for musl iproute2 includes "sanitized" linux kernel headers, which work fine for uClibc, however with musl there is some header conflict, principally some ipv6 structure redefinition. This patch removes from include/linux/if_bridge.h to solve the problem. Signed-off-by: Russell Senior git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43992 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches/910-sanitize_headers_for_musl.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 package/network/utils/iproute2/patches/910-sanitize_headers_for_musl.patch diff --git a/package/network/utils/iproute2/patches/910-sanitize_headers_for_musl.patch b/package/network/utils/iproute2/patches/910-sanitize_headers_for_musl.patch new file mode 100644 index 0000000000..ca1125d1d5 --- /dev/null +++ b/package/network/utils/iproute2/patches/910-sanitize_headers_for_musl.patch @@ -0,0 +1,10 @@ +--- a/include/linux/if_bridge.h ++++ b/include/linux/if_bridge.h +@@ -15,7 +15,6 @@ + + #include + #include +-#include + + #define SYSFS_BRIDGE_ATTR "bridge" + #define SYSFS_BRIDGE_FDB "brforward" -- 2.35.1