Merge pull request #1429 from jow-/sysstat-musl-compat
[feed/packages.git] / ipv6 / aiccu / patches / 400-musl-compat.patch
1 --- a/common/common.h
2 +++ b/common/common.h
3 @@ -50,6 +50,7 @@
4 #include <signal.h>
5 #include <sys/types.h>
6 #include <sys/stat.h>
7 +#include <sys/uio.h>
8 #include <fcntl.h>
9
10 #if defined(_SUNOS) || defined(_AIX) || defined(_DARWIN)
11 @@ -91,7 +92,9 @@
12 #include <sys/select.h>
13
14 #include <net/if.h>
15 +#if defined(__GLIBC__) || defined(__UCLIBC__)
16 #include <netinet/if_ether.h>
17 +#endif
18 #ifdef linux
19 #include <netpacket/packet.h>
20 #include <linux/if_tun.h>
21 --- a/common/dn_skipname.c
22 +++ b/common/dn_skipname.c
23 @@ -1,5 +1,6 @@
24 #include <errno.h>
25 #include <resolv.h>
26 +#include <sys/types.h>
27
28 /* Ripped from glibc 2.4 sources. */
29