diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-18 11:02:21 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-02-18 11:03:35 +0000 |
commit | 1c7e42e7aaa8dd9d515d11b670cc3d3fb5028756 (patch) | |
tree | 75a2a0fce4e9bb8169cb3cb75924ec365b92183e /main/tinc/musl.patch | |
parent | 2a70f0e27ebde0004703c8416e4682e0b5cafeb3 (diff) | |
download | aports-1c7e42e7aaa8dd9d515d11b670cc3d3fb5028756.tar.bz2 aports-1c7e42e7aaa8dd9d515d11b670cc3d3fb5028756.tar.xz |
main/tinc: build fix for musl
Diffstat (limited to 'main/tinc/musl.patch')
-rw-r--r-- | main/tinc/musl.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/main/tinc/musl.patch b/main/tinc/musl.patch new file mode 100644 index 0000000000..9b200a60d4 --- /dev/null +++ b/main/tinc/musl.patch @@ -0,0 +1,24 @@ +diff --git a/src/have.h b/src/have.h +index a96dd7d..9a4bd51 100644 +--- a/src/have.h ++++ b/src/have.h +@@ -176,10 +176,6 @@ + #include <netinet/ip6.h> + #endif + +-#ifdef HAVE_NET_ETHERNET_H +-#include <net/ethernet.h> +-#endif +- + #ifdef HAVE_NET_IF_ARP_H + #include <net/if_arp.h> + #endif +@@ -192,8 +188,4 @@ + #include <netinet/icmp6.h> + #endif + +-#ifdef HAVE_NETINET_IF_ETHER_H +-#include <netinet/if_ether.h> +-#endif +- + #endif /* __TINC_SYSTEM_H__ */ |