summaryrefslogtreecommitdiffstats
path: root/testing/tcpreplay/musl-socklen_t.patch
blob: b4afb34040d21d8ba8e7a39a2e553429b820259b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 *);