Date: 02/22/01
- Next message: phanto <email protected>: "[PHP-DEV] PHP 4.0 Bug #9267 Updated: vars are set to "" instead of NULL"
- Previous message: amra <email protected>: "[PHP-DEV] PHP 4.0 Bug #9380 Updated: HAVE_TZNAME not being checked"
- Next in thread: sas <email protected>: "[PHP-DEV] PHP 4.0 Bug #9382 Updated: inet_aton prototype not used"
- Maybe reply: sas <email protected>: "[PHP-DEV] PHP 4.0 Bug #9382 Updated: inet_aton prototype not used"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 9382
User Update by: amra <email protected>
Status: Open
Bug Type: Compile Failure
Description: inet_aton prototype not used
Previous Comments:
---------------------------------------------------------------------------
[2001-02-21 15:19:43] amra <email protected>
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
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=9382
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: phanto <email protected>: "[PHP-DEV] PHP 4.0 Bug #9267 Updated: vars are set to "" instead of NULL"
- Previous message: amra <email protected>: "[PHP-DEV] PHP 4.0 Bug #9380 Updated: HAVE_TZNAME not being checked"
- Next in thread: sas <email protected>: "[PHP-DEV] PHP 4.0 Bug #9382 Updated: inet_aton prototype not used"
- Maybe reply: sas <email protected>: "[PHP-DEV] PHP 4.0 Bug #9382 Updated: inet_aton prototype not used"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

