aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Robertson <danlrobertson89@gmail.com>2018-02-05 20:20:41 +0000
committerDan Robertson <danlrobertson89@gmail.com>2018-02-05 20:20:41 +0000
commit9c63d18d78a9329fd221409c91a0da5b60465238 (patch)
treed2af8543cb565665d51ab2adf0d037239184b05c /net-analyzer/wireshark/files/wireshark-includes-fix-musl.patch
parentapp-editors/emacs clean old (diff)
downloadmusl-9c63d18d78a9329fd221409c91a0da5b60465238.tar.gz
musl-9c63d18d78a9329fd221409c91a0da5b60465238.tar.bz2
musl-9c63d18d78a9329fd221409c91a0da5b60465238.zip
net-analyzer/wireshark: build with udpdump enabled
Diffstat (limited to 'net-analyzer/wireshark/files/wireshark-includes-fix-musl.patch')
-rw-r--r--net-analyzer/wireshark/files/wireshark-includes-fix-musl.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-analyzer/wireshark/files/wireshark-includes-fix-musl.patch b/net-analyzer/wireshark/files/wireshark-includes-fix-musl.patch
new file mode 100644
index 0000000..097e989
--- /dev/null
+++ b/net-analyzer/wireshark/files/wireshark-includes-fix-musl.patch
@@ -0,0 +1,15 @@
+diff --git a/extcap/udpdump.c b/extcap/udpdump.c
+index 44cc24e1db..1310e37e61 100644
+--- a/extcap/udpdump.c
++++ b/extcap/udpdump.c
+@@ -38,6 +38,10 @@
+ #include <unistd.h>
+ #endif
+
++#ifdef HAVE_SYS_TYPES_H
++ #include <sys/types.h>
++#endif
++
+ #ifdef HAVE_ARPA_INET_H
+ #include <arpa/inet.h>
+ #endif