Include inet_v6defs.h after include the Windows socket headers, so it
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 8 May 2010 01:37:36 +0000 (01:37 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 8 May 2010 01:37:36 +0000 (01:37 +0000)
knows whether AF_INET6 is needed.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32722 f5534014-38df-0310-8fa8-9805f1628bb7

dumpcap.c

index 41bd48fe65030c50169dd3c14ed7e7fbbfbb8829..0321c0930b63a0f4fabdbce1dd3146bac30e6093 100644 (file)
--- a/dumpcap.c
+++ b/dumpcap.c
 #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
 #include <sys/un.h>
 #endif
 
+#ifdef NEED_INET_V6DEFS_H
+# include "inet_v6defs.h"
+#endif
+
 #include <wsutil/privileges.h>
 
 #include "sync_pipe.h"