diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2016-08-31 18:58:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-09-01 13:19:36 +0000 |
commit | 9ea56d296dd6b21bc650e039a233bd5b17604011 (patch) | |
tree | e0c49628d18ea0fd6925520728d7e50bd697e7aa /community/libteam/fix-redefinition-struct-ethhdr.patch | |
parent | 189a0f8160488973087386014fe4e1033e8d25ef (diff) | |
download | aports-9ea56d296dd6b21bc650e039a233bd5b17604011.tar.bz2 aports-9ea56d296dd6b21bc650e039a233bd5b17604011.tar.xz |
community/libteam: update to 1.26
Diffstat (limited to 'community/libteam/fix-redefinition-struct-ethhdr.patch')
-rw-r--r-- | community/libteam/fix-redefinition-struct-ethhdr.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/community/libteam/fix-redefinition-struct-ethhdr.patch b/community/libteam/fix-redefinition-struct-ethhdr.patch new file mode 100644 index 0000000000..c6ed2bffde --- /dev/null +++ b/community/libteam/fix-redefinition-struct-ethhdr.patch @@ -0,0 +1,51 @@ +--- libteam-1.24/teamd/teamd_lw_arp_ping.c ++++ libteam-1.24.new/teamd/teamd_lw_arp_ping.c +@@ -20,7 +20,11 @@ + + #include <arpa/inet.h> + #include <net/if_arp.h> ++#if defined(__GLIBC__) + #include <linux/if_ether.h> ++#else ++#include <net/ethernet.h> ++#endif + #include <netdb.h> + #include <private/misc.h> + #include "teamd.h" +--- libteam-1.24/teamd/teamd_lw_nsna_ping.c ++++ libteam-1.24.new/teamd/teamd_lw_nsna_ping.c +@@ -21,7 +21,11 @@ + #include <netdb.h> + #include <netinet/ip6.h> + #include <netinet/icmp6.h> ++#if defined(__GLIBC__) + #include <linux/if_ether.h> ++#else ++#include <net/ethernet.h> ++#endif + #include <private/misc.h> + #include "teamd.h" + #include "teamd_link_watch.h" +--- libteam-1.24/teamd/teamd_runner_lacp.c ++++ libteam-1.24.new/teamd/teamd_runner_lacp.c +@@ -23,14 +23,20 @@ + #include <unistd.h> + #include <limits.h> + #include <sys/ioctl.h> ++#if defined(__GLIBC__) + #include <linux/if_ether.h> ++#else ++#include <net/ethernet.h> ++#endif + #include <sys/socket.h> + #include <linux/netdevice.h> + #include <netinet/in.h> + #include <errno.h> + #include <team.h> + #include <private/misc.h> ++#if defined(__GLIBC__) + #include <net/ethernet.h> ++#endif + + #include "teamd.h" + #include "teamd_config.h" |