From: [EMAIL PROTECTED] Operating system: OS400 PHP version: 4.0.4pl1 PHP Bug Type: Compile Failure Bug description: inet_aton prototype not used OS/400 does not support inet_aton, and thus an error occurs when trying to compile main/network.c. I did notice that ext/standard/flock_compat.c has an implementation of inet_aton. And that main/network.c does include the prototype as follows: #ifndef PHP_WIN32 #include <netinet/in.h> #include <netdb.h> #include <arpa/inet.h> #else int inet_aton(const char *, struct in_addr *); #endif All I ask is to change the above to the following: #ifndef PHP_WIN32 #include <netinet/in.h> #include <netdb.h> #include <arpa/inet.h> #endif #ifndef HAVE_INET_ATON int inet_aton(const char *, struct in_addr *); #endif -- Edit Bug report at: http://bugs.php.net/?id=9382&edit=1 -- PHP Development 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]