Bug #10340 Updated: HAVE_SYS_RESOURCE_H not defined

From: Date: Wed, 23 May 2001 04:11:34 +0000
Subject: Bug #10340 Updated: HAVE_SYS_RESOURCE_H not defined
Groups: php.dev 
Request: Send a blank email to php-dev+get-56422@lists.php.net to get a copy of this message
ID: 10340 Updated by: sniper Reported By: elkner@linofee.org Old-Status: Open Status: Bogus Bug Type: Compile Failure Operating system: PHP Version: 4.0.4pl1 Assigned To: Comments: http://www.php.net/FAQ.php#6.12 Previous Comments: --------------------------------------------------------------------------- [2001-04-15 14:57:53] elkner@linofee.org configure checks (6524, 25069) for rusage seem to be ok, but make chokes during compilation of ext/standard/microtime.c about unknown storage size uf usg (struct rusage) and undeclared RUSAGE_SELF. Also there are several warnings about redeclaration of RLIM_INFINITY... Quick and dirty fix for the compiler error: --- microtime.c Mon Jun 5 21:47:44 2000 +++ ../../../../php-4.0.4pl1/ext/standard/microtime.c Sun Apr 15 20:02:12 2001 @@ -38,6 +38,7 @@ #include <string.h> #include <stdio.h> #include <errno.h> +#include <sys/resource.h> #include "microtime.h" --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10340&edit=2

« previous php.dev (#56422) next »