cvs: php4 /main network.c
| From: | Sascha Schumann | Date: | Sat, 24 Feb 2001 21:14:18 +0000 |
| Subject: | cvs: php4 /main network.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-4257@lists.php.net to get a copy of this message | ||
sas Sat Feb 24 13:14:18 2001 EDT
Modified files:
/php4/main network.c
Log:
Declare inet_aton properly, if the system lacks support for it.
PR: #9382
Index: php4/main/network.c
diff -u php4/main/network.c:1.14 php4/main/network.c:1.15
--- php4/main/network.c:1.14 Sun Jan 21 09:26:44 2001
+++ php4/main/network.c Sat Feb 24 13:14:18 2001
@@ -15,7 +15,7 @@
| Authors: Stig Venaas <venaas@uninett.no> |
+----------------------------------------------------------------------+
*/
-/* $Id: network.c,v 1.14 2001/01/21 17:26:44 rasmus Exp $ */
+/* $Id: network.c,v 1.15 2001/02/24 21:14:18 sas Exp $ */
#include "php.h"
@@ -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