summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-08-12 21:23:15 +0000
committerZeev Suraski <zeev@php.net>2001-08-12 21:23:15 +0000
commit35de326b0e35167199544f9334a124005042ad8a (patch)
treefa0bb7843e14f7b97becd7f25b1f8c7ec48362f4
parentfd5eea8b966753fec8fa1f9d6d93bfaba584bc3b (diff)
downloadphp-git-35de326b0e35167199544f9334a124005042ad8a.tar.gz
Compile fix for oldie Linux systems (possibly others too)
-rw-r--r--configure.in1
-rw-r--r--ext/standard/filestat.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 84c7c907f6..3d2dd6d1b3 100644
--- a/configure.in
+++ b/configure.in
@@ -312,6 +312,7 @@ sys/select.h \
sys/socket.h \
sys/statfs.h \
sys/statvfs.h \
+sys/vfs.h \
sys/sysexits.h \
sys/time.h \
sys/types.h \
diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c
index 6ad3ddeae4..0ee0b910c8 100644
--- a/ext/standard/filestat.c
+++ b/ext/standard/filestat.c
@@ -34,6 +34,10 @@
# include <unistd.h>
#endif
+#if HAVE_SYS_VFS_H
+# include <sys/vfs.h>
+#endif
+
#ifdef OS2
# define INCL_DOS
# include <os2.h>