cvs: php4 / configure.in /ext/standard filestat.c
| From: | Zeev Suraski | Date: | Sun, 12 Aug 2001 21:23:16 +0000 |
| Subject: | cvs: php4 / configure.in /ext/standard filestat.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6758@lists.php.net to get a copy of this message | ||
zeev Sun Aug 12 17:23:16 2001 EDT
Modified files:
/php4 configure.in
/php4/ext/standard filestat.c
Log:
Compile fix for oldie Linux systems (possibly others too)
Index: php4/configure.in
diff -u php4/configure.in:1.266 php4/configure.in:1.267
--- php4/configure.in:1.266 Tue Aug 7 13:29:11 2001
+++ php4/configure.in Sun Aug 12 17:23:15 2001
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.266 2001/08/07 17:29:11 sniper Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.267 2001/08/12 21:23:15 zeev Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -312,6 +312,7 @@
sys/socket.h \
sys/statfs.h \
sys/statvfs.h \
+sys/vfs.h \
sys/sysexits.h \
sys/time.h \
sys/types.h \
Index: php4/ext/standard/filestat.c
diff -u php4/ext/standard/filestat.c:1.77 php4/ext/standard/filestat.c:1.78
--- php4/ext/standard/filestat.c:1.77 Sat Aug 11 13:03:37 2001
+++ php4/ext/standard/filestat.c Sun Aug 12 17:23:15 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: filestat.c,v 1.77 2001/08/11 17:03:37 zeev Exp $ */
+/* $Id: filestat.c,v 1.78 2001/08/12 21:23:15 zeev Exp $ */
#include "php.h"
#include "safe_mode.h"
@@ -32,6 +32,10 @@
#if HAVE_UNISTD_H
# include <unistd.h>
+#endif
+
+#if HAVE_SYS_VFS_H
+# include <sys/vfs.h>
#endif
#ifdef OS2