tony2001                Wed Jul 26 08:57:11 2006 UTC

  Modified files:              
    /php-src    configure.in 
    /php-src/ext/standard       basic_functions.c 
  Log:
  fix compile warning on Solaris, getloadavg() is in sys/loadavg.h there
  
  
http://cvs.php.net/viewvc.cgi/php-src/configure.in?r1=1.605&r2=1.606&diff_format=u
Index: php-src/configure.in
diff -u php-src/configure.in:1.605 php-src/configure.in:1.606
--- php-src/configure.in:1.605  Mon Jun 26 20:28:30 2006
+++ php-src/configure.in        Wed Jul 26 08:57:10 2006
@@ -1,4 +1,4 @@
- ## $Id: configure.in,v 1.605 2006/06/26 20:28:30 bjori Exp $ -*- autoconf -*-
+ ## $Id: configure.in,v 1.606 2006/07/26 08:57:10 tony2001 Exp $ -*- autoconf 
-*-
 dnl ## Process this file with autoconf to produce a configure script.
 
 divert(1)
@@ -372,6 +372,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.796&r2=1.797&diff_format=u
Index: php-src/ext/standard/basic_functions.c
diff -u php-src/ext/standard/basic_functions.c:1.796 
php-src/ext/standard/basic_functions.c:1.797
--- php-src/ext/standard/basic_functions.c:1.796        Tue Jul 25 16:40:11 2006
+++ php-src/ext/standard/basic_functions.c      Wed Jul 26 08:57:11 2006
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: basic_functions.c,v 1.796 2006/07/25 16:40:11 bjori Exp $ */
+/* $Id: basic_functions.c,v 1.797 2006/07/26 08:57:11 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