summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/wscript_configure9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/util/wscript_configure b/lib/util/wscript_configure
index c25ce78eb3..44c73dac7a 100644
--- a/lib/util/wscript_configure
+++ b/lib/util/wscript_configure
@@ -17,3 +17,12 @@ conf.CHECK_CODE('getxattr(NULL, NULL, NULL, 0, 0, 0)',
if conf.CONFIG_SET('HAVE_FLISTXATTR'):
conf.DEFINE('HAVE_XATTR_SUPPORT', 1)
+conf.CHECK_HEADERS('sys/statvfs.h')
+
+conf.CHECK_CODE('struct statvfs64 fsd; exit(statvfs64 (".", &fsd))',
+ define='STAT_STATVFS64',
+ headers='unistd.h sys/types.h sys/statvfs.h',
+ local_include=False)
+
+
+