php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26687 compile fails in ext/basic_functions.c:1192
Submitted: 2003-12-22 05:16 UTC Modified: 2003-12-22 10:57 UTC
From: hakan at lisas dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5CVS-2003-12-22 (dev) OS: Solaris 9
Private report: No CVE-ID: None
 [2003-12-22 05:16 UTC] hakan at lisas dot de
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-22 10:57 UTC] iliaa@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Dec 05 11:00:02 2025 UTC