From:             hakan at lisas dot de
Operating system: Solaris 9
PHP version:      5CVS-2003-12-22 (dev)
PHP Bug Type:     Compile Failure
Bug description:  compile fails in ext/basic_functions.c:1192

Description:
------------
Compile of current CVS fails with:
ext/standard/basic_functions.c:1192: error: `INADDR_NONE' undeclared
(first use in this function)

on my box.

Reproduce code:
---------------
./builconf
./configure ...
make
...
...
...
ext/standard/basic_functions.c:1192: error: `INADDR_NONE' undeclared
(first use in this function)

Actual result:
--------------
if I put 

#ifndef INADDR_NONE
#define INADDR_NONE ((unsigned long) -1)
#endif

in ext/basic_functions.c it compiles

-- 
Edit bug report at http://bugs.php.net/?id=26687&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26687&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26687&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26687&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26687&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26687&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26687&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26687&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26687&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26687&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26687&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26687&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26687&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26687&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26687&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26687&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26687&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26687&r=float

Reply via email to