board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / ebtables / 0002-Fix-musl-compatibility.patch
blob5e9f534b4638c83c939b613e730f5fa47f9b515f
1 From 138e7efdc8cad6453620c6366e6fa5e786593f7f Mon Sep 17 00:00:00 2001
2 From: Baruch Siach <baruch@tkos.co.il>
3 Date: Thu, 16 Feb 2017 14:41:48 +0200
4 Subject: [PATCH] Fix musl compatibility
6 Include netinet/ether.h before kernel headers to suppress the conflicting
7 definition of struct ethhdr.
9 Signed-off-by: Baruch Siach <baruch@tkos.co.il>
10 ---
11 Upstream status: not upstreamable; depends on Buildroot local musl patch
12 ---
13 include/ebtables_u.h | 1 +
14 1 file changed, 1 insertion(+)
16 diff --git a/include/ebtables_u.h b/include/ebtables_u.h
17 index 35a5bcc54c86..268b1fd599d2 100644
18 --- a/include/ebtables_u.h
19 +++ b/include/ebtables_u.h
20 @@ -24,6 +24,7 @@
21 #ifndef EBTABLES_U_H
22 #define EBTABLES_U_H
23 #include <netinet/in.h>
24 +#include <netinet/ether.h>
25 #include <linux/netfilter_bridge/ebtables.h>
26 #include <linux/netfilter/x_tables.h>
28 --
29 2.11.0