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>
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
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
26 #include <sys/types.h>