Bug #18046 Updated: sys/socket.h not being included - causing make to fail

From: Date: Fri, 28 Jun 2002 15:06:06 +0000
Subject: Bug #18046 Updated: sys/socket.h not being included - causing make to fail
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12419@lists.php.net to get a copy of this message
ID: 18046 Updated by: sniper@php.net Reported By: jharlap@bic.mni.mcgill.ca -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: IRIX 6.5 PHP Version: 4.2.1 New Comment: This bug has been fixed in CVS. You can grab a snapshot of the CVS version 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. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-06-28 10:53:40] jharlap@bic.mni.mcgill.ca Compiling PHP 4.2.1 on an Irix64 6.5 machine fails. In network.c, #if HAVE_SYS_SOCKET_H (line 32) evaluates to false, thus not including sys/socket.h. Seems to be a problem with the ./configure script, as one line in the output from ./configure reads "checking for sys/socket.h... no". I added #include <sys/socket.h> to main/php.h as a workaround and it fixed the problem for me. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18046&edit=1

« previous php.bugs (#12419) next »