mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
13 lines
219 B
Diff
13 lines
219 B
Diff
--- a/extcap/udpdump.c
|
|
+++ b/extcap/udpdump.c
|
|
@@ -45,6 +45,10 @@
|
|
|
|
#include <cli_main.h>
|
|
|
|
+#ifdef HAVE_SYS_TIME_H
|
|
+ #include <sys/time.h>
|
|
+#endif
|
|
+
|
|
#define PCAP_SNAPLEN 0xffff
|
|
|
|
#define UDPDUMP_DEFAULT_PORT 5555
|