ID: 10340 Updated by: sniper Reported By: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]