summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/iproute2/iproute2/0001-ip-Remove-unneed-header.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/iproute2/iproute2/0001-ip-Remove-unneed-header.patch')
-rw-r--r--meta/recipes-connectivity/iproute2/iproute2/0001-ip-Remove-unneed-header.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/iproute2/iproute2/0001-ip-Remove-unneed-header.patch b/meta/recipes-connectivity/iproute2/iproute2/0001-ip-Remove-unneed-header.patch
new file mode 100644
index 0000000000..a9f8db6945
--- /dev/null
+++ b/meta/recipes-connectivity/iproute2/iproute2/0001-ip-Remove-unneed-header.patch
@@ -0,0 +1,30 @@
1From f58fc99c88a54135e55a6e0956ce8ae71078d1cc Mon Sep 17 00:00:00 2001
2From: Changhyeok Bae <changhyeok.bae@gmail.com>
3Date: Mon, 12 Jun 2017 04:29:07 +0000
4Subject: [PATCH] ip: Remove unneed header
5
6Fix redefinition of struct ethhdr with a suitably patched musl libc
7that suppresses the kernel if_ether.h.
8
9Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
10
11Upstream-Status: Submitted [netdev@vger.kernel.org]
12---
13 ip/iplink_bridge.c | 1 -
14 1 file changed, 1 deletion(-)
15
16diff --git a/ip/iplink_bridge.c b/ip/iplink_bridge.c
17index 818b43c..f065b22 100644
18--- a/ip/iplink_bridge.c
19+++ b/ip/iplink_bridge.c
20@@ -15,7 +15,6 @@
21 #include <netinet/in.h>
22 #include <linux/if_link.h>
23 #include <linux/if_bridge.h>
24-#include <netinet/ether.h>
25 #include <net/if.h>
26
27 #include "rt_names.h"
28--
292.7.4
30