diff options
-rw-r--r-- | configure.in | 1 | ||||
-rw-r--r-- | ext/standard/filestat.c | 4 |
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> |