aboutsummaryrefslogtreecommitdiffstats
path: root/community/wireshark/fix-udpdump.patch
blob: a75a7851ea1c943b5aeb61a10e996e74b6937bb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/extcap/udpdump.c
+++ b/extcap/udpdump.c
@@ -56,6 +56,10 @@
 #include <wsutil/inet_addr.h>
 #include <wsutil/filesystem.h>
 
+#ifdef HAVE_SYS_TIME_H
+    #include <sys/time.h>
+#endif
+
 #define PCAP_SNAPLEN 0xffff
 
 #define UDPDUMP_DEFAULT_PORT 5555