From: Sascha Schumann Date: Sat, 24 Feb 2001 21:14:18 +0000 (+0000) Subject: Declare inet_aton properly, if the system lacks support for it. X-Git-Tag: php-4.0.5RC1~172 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb1a89cb644e9a26935a9976b220bd6215801cb2;p=php Declare inet_aton properly, if the system lacks support for it. PR: #9382 --- diff --git a/main/network.c b/main/network.c index 8b614e54ed..17af5e9f5c 100644 --- a/main/network.c +++ b/main/network.c @@ -39,7 +39,9 @@ #if HAVE_ARPA_INET_H #include #endif -#else +#endif + +#ifndef HAVE_INET_ATON int inet_aton(const char *, struct in_addr *); #endif