aboutsummaryrefslogtreecommitdiffstats
path: root/extcap
diff options
context:
space:
mode:
authorEdwin Groothuis <wireshark@mavetju.org>2015-05-15 13:30:02 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2015-05-15 12:38:41 +0000
commit4c601c833a55446bb15cd80fa1df59dd086694c7 (patch)
treef8327cc01bd9ac35d10b3c5990d6dbda6ef787d2 /extcap
parent57716e13659a8c9c26124e249a86fce9577d609f (diff)
androiddump: fix compilation under FreeBSD
Bug: 11200 Change-Id: Ic46b235c84488bb8537ec3c2605e6770eb843795 Reviewed-on: https://code.wireshark.org/review/8469 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'extcap')
-rw-r--r--extcap/androiddump.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/extcap/androiddump.c b/extcap/androiddump.c
index 783880f427..eac9c10174 100644
--- a/extcap/androiddump.c
+++ b/extcap/androiddump.c
@@ -32,6 +32,10 @@
#include <errno.h>
#include <time.h>
+#ifdef HAVE_NETINET_IN_H
+# include <netinet/in.h>
+#endif
+
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif