PHP5 compilation broken? Patch

From: Date: Sat, 01 Mar 2003 04:33:43 +0000
Subject: PHP5 compilation broken? Patch
Groups: php.dev 
Request: Send a blank email to php-dev+get-94693@lists.php.net to get a copy of this message
Howdy-- Tried to compile today's CVS of PHP5 but I get a compilation error in main/network.c. Here's a patch that (I think) should take care of the problem: Index: main/network.c =================================================================== RCS file: /repository/php4/main/network.c,v retrieving revision 1.95 diff -u -r1.95 network.c --- main/network.c 28 Feb 2003 21:03:36 -0000 1.95 +++ main/network.c 1 Mar 2003 04:31:37 -0000 @@ -509,7 +509,7 @@ 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) { Hope I got the right patch format. Marco

« previous php.dev (#94693) next »