python-werkzeug: bump to version 0.11.15
[buildroot-gz.git] / package / musl / 0001-avoid-kernel-if_ether.h.patch
blob8efbcc8450830d3fee19cf6613241df6071c459b
1 From 3984adc4976de7553f51e0cf4de1e18c373b332b Mon Sep 17 00:00:00 2001
2 From: Baruch Siach <baruch@tkos.co.il>
3 Date: Thu, 15 Dec 2016 15:10:19 +0200
4 Subject: [PATCH] Avoid redefinition of struct ethhdr
6 This is a workaround to the if_ether.h conflict between musl and the kernel.
7 Both define struct ethhdr.
9 Signed-off-by: Baruch Siach <baruch@tkos.co.il>
10 ---
11 include/netinet/if_ether.h | 3 +++
12 1 file changed, 3 insertions(+)
14 diff --git a/include/netinet/if_ether.h b/include/netinet/if_ether.h
15 index 11ee65823f93..cfe1949d3371 100644
16 --- a/include/netinet/if_ether.h
17 +++ b/include/netinet/if_ether.h
18 @@ -1,6 +1,9 @@
19 #ifndef _NETINET_IF_ETHER_H
20 #define _NETINET_IF_ETHER_H
22 +/* Suppress kernel if_ether.h header inclusion */
23 +#define _LINUX_IF_ETHER_H
25 #include <stdint.h>
26 #include <sys/types.h>
28 --
29 2.10.2