From:             [EMAIL PROTECTED]
Operating system: Linux 2.4.3 i686
PHP version:      4.0.4pl1
PHP Bug Type:     Compile Failure
Bug description:  HAVE_SYS_RESOURCE_H not defined

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"



-- 
Edit Bug report at: http://bugs.php.net/?id=10340&edit=1



-- 
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]

Reply via email to