diff options
author | Darren Tucker <dtucker@dtucker.net> | 2018-02-25 11:22:57 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-02-26 00:09:04 +1100 |
commit | 11057564eb6ab8fd987de50c3d7f394c6f6632b7 (patch) | |
tree | 0702d5182bb32de607b84110e36e3a2f167b13a7 /openbsd-compat/bsd-statvfs.h | |
parent | e9dede06e5bc582a4aeb5b1cd5a7a640d7de3609 (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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-statvfs.h b/openbsd-compat/bsd-statvfs.h index 815ec03b2..e2a4c15f7 100644 --- a/openbsd-compat/bsd-statvfs.h +++ b/openbsd-compat/bsd-statvfs.h | |||
@@ -26,6 +26,9 @@ | |||
26 | #ifdef HAVE_SYS_STATFS_H | 26 | #ifdef HAVE_SYS_STATFS_H |
27 | #include <sys/statfs.h> | 27 | #include <sys/statfs.h> |
28 | #endif | 28 | #endif |
29 | #ifdef HAVE_SYS_VFS_H | ||
30 | #include <sys/vfs.h> | ||
31 | #endif | ||
29 | 32 | ||
30 | #ifndef HAVE_FSBLKCNT_T | 33 | #ifndef HAVE_FSBLKCNT_T |
31 | typedef unsigned long fsblkcnt_t; | 34 | typedef unsigned long fsblkcnt_t; |