jon Fri Aug 22 01:11:32 2003 EDT
Modified files: (Branch: PHP_4_3)
/php-src configure.in
/php-src/ext/standard filestat.c
Log:
MFH configure.in:1.460, filestat.c:1.125:
Fix disk_total_space() and disk_free_space() under FreeBSD.
Index: php-src/configure.in
diff -u php-src/configure.in:1.396.2.67 php-src/configure.in:1.396.2.68
--- php-src/configure.in:1.396.2.67 Mon Aug 18 10:04:30 2003
+++ php-src/configure.in Fri Aug 22 01:11:30 2003
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.396.2.67 2003/08/18 14:04:30 iliaa Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.396.2.68 2003/08/22 05:11:30 jon Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -327,6 +327,7 @@
dnl QNX requires unix.h to allow functions in libunix to work properly
AC_CHECK_HEADERS([ \
ApplicationServices/ApplicationServices.h \
+sys/param.h \
sys/types.h \
sys/time.h \
netinet/in.h \
@@ -372,6 +373,9 @@
sys/ipc.h \
dlfcn.h
],[],[],[
+#ifdef HAVE_SYS_PARAM_H
+#include <sys/param.h>
+#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
Index: php-src/ext/standard/filestat.c
diff -u php-src/ext/standard/filestat.c:1.112.2.7
php-src/ext/standard/filestat.c:1.112.2.8
--- php-src/ext/standard/filestat.c:1.112.2.7 Tue Jun 24 09:44:57 2003
+++ php-src/ext/standard/filestat.c Fri Aug 22 01:11:31 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: filestat.c,v 1.112.2.7 2003/06/24 13:44:57 iliaa Exp $ */
+/* $Id: filestat.c,v 1.112.2.8 2003/08/22 05:11:31 jon Exp $ */
#include "php.h"
#include "safe_mode.h"
@@ -32,6 +32,10 @@
#if HAVE_UNISTD_H
# include <unistd.h>
+#endif
+
+#if HAVE_SYS_PARAM_H
+# include <sys/param.h>
#endif
#if HAVE_SYS_VFS_H
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php