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
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php