aboutsummaryrefslogtreecommitdiffstats
path: root/community/wireshark/fix-udpdump.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/wireshark/fix-udpdump.patch')
-rw-r--r--community/wireshark/fix-udpdump.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/wireshark/fix-udpdump.patch b/community/wireshark/fix-udpdump.patch
new file mode 100644
index 0000000000..a75a7851ea
--- /dev/null
+++ b/community/wireshark/fix-udpdump.patch
@@ -0,0 +1,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