From: Zeev Suraski Date: Sun, 12 Aug 2001 21:23:15 +0000 (+0000) Subject: Compile fix for oldie Linux systems (possibly others too) X-Git-Tag: php-4.0.7RC1~92 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35de326b0e35167199544f9334a124005042ad8a;p=php Compile fix for oldie Linux systems (possibly others too) --- 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 #endif +#if HAVE_SYS_VFS_H +# include +#endif + #ifdef OS2 # define INCL_DOS # include