summaryrefslogtreecommitdiff
path: root/ext/-test-/file/fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/-test-/file/fs.c')
-rw-r--r--ext/-test-/file/fs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/-test-/file/fs.c b/ext/-test-/file/fs.c
index f0be84ad3b..d3fa5350e5 100644
--- a/ext/-test-/file/fs.c
+++ b/ext/-test-/file/fs.c
@@ -10,6 +10,9 @@
#ifdef HAVE_SYS_VFS_H
#include <sys/vfs.h>
#endif
+#ifdef HAVE_SYS_STATVFS_H
+#include <sys/statvfs.h>
+#endif
#if defined HAVE_STRUCT_STATFS_F_FSTYPENAME
typedef struct statfs statfs_t;