From: Moriyoshi Koizumi Date: Sat, 1 Mar 2003 15:49:06 +0000 (+0000) Subject: Fixed build X-Git-Tag: RELEASE_0_5~675 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3de8b87cbad97d7e0b060f4a31f9c016747604a7;p=php Fixed build --- diff --git a/main/network.c b/main/network.c index eee8530ac7..9554786f89 100644 --- a/main/network.c +++ b/main/network.c @@ -509,7 +509,7 @@ static void populate_name( break; -#if HAVE_IPV6 +#if HAVE_IPV6 && HAVE_INET_NTOP case AF_INET6: buf = (char*)inet_ntop(sa->sa_family, &((struct sockaddr_in6*)sa)->sin6_addr, (char *)&abuf, sizeof(abuf)); if (buf) {