aboutsummaryrefslogtreecommitdiffstats
path: root/community/wireshark/fix-androiddump.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/wireshark/fix-androiddump.patch')
-rw-r--r--community/wireshark/fix-androiddump.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/wireshark/fix-androiddump.patch b/community/wireshark/fix-androiddump.patch
new file mode 100644
index 0000000000..dbb72b8608
--- /dev/null
+++ b/community/wireshark/fix-androiddump.patch
@@ -0,0 +1,11 @@
+diff -ru wireshark-2.2.2.orig/extcap/androiddump.c wireshark-2.2.2/extcap/androiddump.c
+--- wireshark-2.2.2.orig/extcap/androiddump.c 2016-11-28 09:55:43.000000000 +0000
++++ wireshark-2.2.2/extcap/androiddump.c 2016-11-28 09:56:30.683553877 +0000
+@@ -30,6 +30,7 @@
+ #include <string.h>
+ #include <errno.h>
+ #include <time.h>
++#include <sys/time.h>
+
+ #ifdef HAVE_NETINET_IN_H
+ # include <netinet/in.h>