diff options
Diffstat (limited to 'os/access.c')
-rw-r--r-- | os/access.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/os/access.c b/os/access.c index 88a44d9e5..6d991b362 100644 --- a/os/access.c +++ b/os/access.c @@ -163,6 +163,10 @@ SOFTWARE. /* #endif */ #endif +#if defined(IPv6) && defined(AF_INET6) +#include <arpa/inet.h> +#endif + #endif /* WIN32 */ #define X_INCLUDE_NETDB_H @@ -461,10 +465,6 @@ DefineSelf(int fd) #endif #if defined(IPv6) && defined(AF_INET6) -#include <arpa/inet.h> -#endif - -#if defined(IPv6) && defined(AF_INET6) static void in6_fillscopeid(struct sockaddr_in6 *sin6) { |