From: cyrus Date: Sat, 17 Jan 2015 10:58:29 +0000 (+0000) Subject: iproute2: fix header problem for musl X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;ds=inline;h=3095b3b68b4b722cb19ed9d3560c4664da75530f;p=openwrt-working-2016%2F.git 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 --- 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"