diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-03-03 13:02:37 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-03-03 13:03:42 +0000 |
commit | 95556218aa50c9edfa51531d89938fec9c9190b3 (patch) | |
tree | 979087d5e85232f86b675708f8d2fb6d37b433b4 /testing/tcpreplay/musl-socklen_t.patch | |
parent | cb8a398421d7648bf608d182b9ff631332fc3541 (diff) | |
download | aports-95556218aa50c9edfa51531d89938fec9c9190b3.tar.bz2 aports-95556218aa50c9edfa51531d89938fec9c9190b3.tar.xz |
testing/tcpreplay: build fix for musl
Diffstat (limited to 'testing/tcpreplay/musl-socklen_t.patch')
-rw-r--r-- | testing/tcpreplay/musl-socklen_t.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/tcpreplay/musl-socklen_t.patch b/testing/tcpreplay/musl-socklen_t.patch new file mode 100644 index 0000000000..b4afb34040 --- /dev/null +++ b/testing/tcpreplay/musl-socklen_t.patch @@ -0,0 +1,13 @@ +--- ./src/common/sendpacket.c.orig ++++ ./src/common/sendpacket.c +@@ -166,10 +166,6 @@ + #include "txring.h" + #endif + +-#ifndef __GLIBC__ +-typedef int socklen_t; +-#endif +- + static sendpacket_t *sendpacket_open_pf(const char *, char *); + static struct tcpr_ether_addr *sendpacket_get_hwaddr_pf(sendpacket_t *); + static int get_iface_index(int fd, const char *device, char *); |