diff options
author | Sascha Schumann <sas@php.net> | 2001-02-24 21:14:18 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2001-02-24 21:14:18 +0000 |
commit | cb1a89cb644e9a26935a9976b220bd6215801cb2 (patch) | |
tree | 1fcd7aba1581eb03a63c8900d4fbb96628c3217b | |
parent | a40ee1f181f98504e476dc85ab27210099a54680 (diff) | |
download | php-git-cb1a89cb644e9a26935a9976b220bd6215801cb2.tar.gz |
Declare inet_aton properly, if the system lacks support for it.
PR: #9382
-rw-r--r-- | main/network.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 <arpa/inet.h> #endif -#else +#endif + +#ifndef HAVE_INET_ATON int inet_aton(const char *, struct in_addr *); #endif |