tony2001                Wed Jul 26 08:57:45 2006 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src    configure.in 
    /php-src/ext/standard       basic_functions.c 
  Log:
  MFH: fix compile warning on Solaris, getloadavg() is in sys/loadavg.h there
  
  
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.579.2.52.2.4&r2=1.579.2.52.2.5&diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.579.2.52.2.4 php-src/configure.in:1.579.2.52.2.5
--- php-src/configure.in:1.579.2.52.2.4 Mon Jul 24 18:53:01 2006
+++ php-src/configure.in        Wed Jul 26 08:57:44 2006
@@ -1,4 +1,4 @@
- ## $Id: configure.in,v 1.579.2.52.2.4 2006/07/24 18:53:01 iliaa Exp $ -*- 
autoconf -*-
+ ## $Id: configure.in,v 1.579.2.52.2.5 2006/07/26 08:57:44 tony2001 Exp $ -*- 
autoconf -*-
 dnl ## Process this file with autoconf to produce a configure script.
 
 divert(1)
@@ -374,6 +374,7 @@
 sys/sysexits.h \
 sys/varargs.h \
 sys/wait.h \
+sys/loadavg.h \
 termios.h \
 unistd.h \
 unix.h \
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/basic_functions.c?r1=1.725.2.31.2.18&r2=1.725.2.31.2.19&diff_format=u
Index: php-src/ext/standard/basic_functions.c
diff -u php-src/ext/standard/basic_functions.c:1.725.2.31.2.18 
php-src/ext/standard/basic_functions.c:1.725.2.31.2.19
--- php-src/ext/standard/basic_functions.c:1.725.2.31.2.18      Tue Jul 25 
16:41:04 2006
+++ php-src/ext/standard/basic_functions.c      Wed Jul 26 08:57:44 2006
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: basic_functions.c,v 1.725.2.31.2.18 2006/07/25 16:41:04 bjori Exp $ */
+/* $Id: basic_functions.c,v 1.725.2.31.2.19 2006/07/26 08:57:44 tony2001 Exp $ 
*/
 
 #include "php.h"
 #include "php_streams.h"
@@ -78,6 +78,10 @@
 # include <sys/mman.h>
 #endif
 
+#if HAVE_SYS_LOADAVG_H
+# include <sys/loadavg.h>
+#endif
+
 #ifdef HARTMUT_0
 #include <getopt.h>
 #endif

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to