Include inet_v6defs.h after include the Windows socket headers, so it
knows whether AF_INET6 is needed. svn path=/trunk/; revision=32722
This commit is contained in:
parent
dc09d61a92
commit
55dc4be5ba
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue