diff options
Diffstat (limited to 'ipv6/aiccu/patches/400-musl-compat.patch')
-rw-r--r-- | ipv6/aiccu/patches/400-musl-compat.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ipv6/aiccu/patches/400-musl-compat.patch b/ipv6/aiccu/patches/400-musl-compat.patch new file mode 100644 index 000000000..2e732d8a2 --- /dev/null +++ b/ipv6/aiccu/patches/400-musl-compat.patch @@ -0,0 +1,29 @@ +--- a/common/common.h ++++ b/common/common.h +@@ -50,6 +50,7 @@ + #include <signal.h> + #include <sys/types.h> + #include <sys/stat.h> ++#include <sys/uio.h> + #include <fcntl.h> + + #if defined(_SUNOS) || defined(_AIX) || defined(_DARWIN) +@@ -91,7 +92,9 @@ + #include <sys/select.h> + + #include <net/if.h> ++#if defined(__GLIBC__) || defined(__UCLIBC__) + #include <netinet/if_ether.h> ++#endif + #ifdef linux + #include <netpacket/packet.h> + #include <linux/if_tun.h> +--- a/common/dn_skipname.c ++++ b/common/dn_skipname.c +@@ -1,5 +1,6 @@ + #include <errno.h> + #include <resolv.h> ++#include <sys/types.h> + + /* Ripped from glibc 2.4 sources. */ + |