aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-05-08 01:37:36 +0000
committerGuy Harris <guy@alum.mit.edu>2010-05-08 01:37:36 +0000
commit55dc4be5ba9752a8e1d435701a4b4a08edb33e11 (patch)
tree593c8cc5d68b7c44ea79408646d3bd8cfe68a3b7 /dumpcap.c
parentdc09d61a923a2f01a1460b2c6775ad4f7c150c4f (diff)
downloadwireshark-55dc4be5ba9752a8e1d435701a4b4a08edb33e11.tar.gz
wireshark-55dc4be5ba9752a8e1d435701a4b4a08edb33e11.tar.bz2
wireshark-55dc4be5ba9752a8e1d435701a4b4a08edb33e11.zip
Include inet_v6defs.h after include the Windows socket headers, so it
knows whether AF_INET6 is needed. svn path=/trunk/; revision=32722
Diffstat (limited to 'dumpcap.c')
-rw-r--r--dumpcap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dumpcap.c b/dumpcap.c
index 41bd48fe65..0321c0930b 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -52,10 +52,6 @@
#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
@@ -98,6 +94,10 @@
#include <sys/un.h>
#endif
+#ifdef NEED_INET_V6DEFS_H
+# include "inet_v6defs.h"
+#endif
+
#include <wsutil/privileges.h>
#include "sync_pipe.h"