aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-05-08 01:15:56 +0000
committerGuy Harris <guy@alum.mit.edu>2010-05-08 01:15:56 +0000
commit3debd13524941a684a288ead7f381c7e195c5f10 (patch)
tree80424121899a444f2af7aa4acd578f90051fa6a6 /dumpcap.c
parent31fbc9f5280b6ec0ce2f263a6eae5d7fe18e33d3 (diff)
Include inet_v6defs.h if needed to declare inet_ntop().
svn path=/trunk/; revision=32720
Diffstat (limited to 'dumpcap.c')
-rw-r--r--dumpcap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dumpcap.c b/dumpcap.c
index dbc948fb36..41bd48fe65 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -52,6 +52,10 @@
#include <arpa/inet.h>
#endif
+#ifdef NEED_INET_V6DEFS_H
+# include "inet_v6defs.h"
+#endif
+
#if defined(__APPLE__) && defined(__LP64__)
#include <sys/utsname.h>
#endif