summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-statvfs.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-02-25 11:22:57 +1100
committerDarren Tucker <dtucker@dtucker.net>2018-02-26 00:09:04 +1100
commit11057564eb6ab8fd987de50c3d7f394c6f6632b7 (patch)
tree0702d5182bb32de607b84110e36e3a2f167b13a7 /openbsd-compat/bsd-statvfs.h
parente9dede06e5bc582a4aeb5b1cd5a7a640d7de3609 (diff)
bsd-statvfs: include sys/vfs.h, check for f_flags.
Diffstat (limited to 'openbsd-compat/bsd-statvfs.h')
-rw-r--r--openbsd-compat/bsd-statvfs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-statvfs.h b/openbsd-compat/bsd-statvfs.h
index 815ec03b..e2a4c15f 100644
--- a/openbsd-compat/bsd-statvfs.h
+++ b/openbsd-compat/bsd-statvfs.h
@@ -26,6 +26,9 @@
#ifdef HAVE_SYS_STATFS_H
#include <sys/statfs.h>
#endif
+#ifdef HAVE_SYS_VFS_H
+#include <sys/vfs.h>
+#endif
#ifndef HAVE_FSBLKCNT_T
typedef unsigned long fsblkcnt_t;