aboutsummaryrefslogtreecommitdiffstats
path: root/community/wireshark/fix-udpdump.patch
blob: 08d11d3eec1e93d6603c734125edf812e2bc867c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/extcap/udpdump.c
+++ b/extcap/udpdump.c
@@ -50,6 +50,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