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 <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $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
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]