package/x11r7/xdriver_xf86-video-siliconmotion: bump version to 1.7.9
[buildroot-gz.git] / package / aiccu / 0004-if-ether-header.patch
blob48e8ceb6b1dce49b4495063b3c492048abbe447d
1 musl does not allow using <netinet/*> together with <linux/*> headers.
2 Since there are both netinet/if_ether.h and linux/if_ether.h providing
3 the same definitions, use linux/if_ether.h whenever other linux/*
4 headers are included.
6 Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
8 --- aiccu/common/common.h
9 +++ aiccu/common/common.h
10 @@ -91,11 +91,12 @@
11 #include <sys/select.h>
13 #include <net/if.h>
14 - #include <netinet/if_ether.h>
15 #ifdef linux
16 #include <netpacket/packet.h>
17 + #include <linux/if_ether.h>
18 #include <linux/if_tun.h>
19 #else
20 + #include <netinet/if_ether.h>
21 #ifdef _DFBSD
22 #include <net/tun/if_tun.h>
23 #else