aboutsummaryrefslogtreecommitdiffstats
path: root/community/wireshark/fix-udpdump.patch
blob: 4ae8ac0c21bd9d0eb27d16918fa7a6c1dd50c4a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- 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