summaryrefslogtreecommitdiff
path: root/dumpcap.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2005-12-04 23:50:57 +0000
committerJörg Mayer <jmayer@loplof.de>2005-12-04 23:50:57 +0000
commitd8c09f7f2eb8c0140a5212b981e7212be772fdb4 (patch)
tree9cf8434572de239789f673db879679d6b8e2ffe6 /dumpcap.c
parent0b02bdbb43f46d9dce69066bf95943b72a150dec (diff)
downloadwireshark-d8c09f7f2eb8c0140a5212b981e7212be772fdb4.tar.gz
We need AF_INET6 on linux, so include netdb.h if available.
Add dumpcap to svn:ignore. svn path=/trunk/; revision=16676
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 82241f404a..2e66093a4d 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -38,6 +38,10 @@
#include "getopt.h"
#endif
+#ifdef HAVE_NETDB_H
+#include <netdb.h>
+#endif
+
#ifdef _WIN32 /* Needed for console I/O */
#include <conio.h>
#endif