diff options
author | Darren Tucker <dtucker@dtucker.net> | 2019-11-03 00:09:21 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-11-03 00:09:21 +1100 |
commit | 382c18c20cdcec45b5d21ff25b4a5e0df91a68c4 (patch) | |
tree | 9a6c5fd2a53d0c86cede8adb429458dc635f8abf /configure.ac | |
parent | 03ffc0951c305c8e3b5fdc260d65312a57f8f7ea (diff) |
statfs might be defined in sys/mount.h.
eg on old NetBSDs.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index bc28d0748..70019e03b 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -3817,6 +3817,7 @@ AC_CHECK_TYPES([fsblkcnt_t, fsfilcnt_t], , , [ | |||
3817 | ]) | 3817 | ]) |
3818 | 3818 | ||
3819 | AC_CHECK_MEMBERS([struct statfs.f_files, struct statfs.f_flags], [], [], [[ | 3819 | AC_CHECK_MEMBERS([struct statfs.f_files, struct statfs.f_flags], [], [], [[ |
3820 | #include <sys/param.h> | ||
3820 | #include <sys/types.h> | 3821 | #include <sys/types.h> |
3821 | #ifdef HAVE_SYS_BITYPES_H | 3822 | #ifdef HAVE_SYS_BITYPES_H |
3822 | #include <sys/bitypes.h> | 3823 | #include <sys/bitypes.h> |
@@ -3830,6 +3831,9 @@ AC_CHECK_MEMBERS([struct statfs.f_files, struct statfs.f_flags], [], [], [[ | |||
3830 | #ifdef HAVE_SYS_VFS_H | 3831 | #ifdef HAVE_SYS_VFS_H |
3831 | #include <sys/vfs.h> | 3832 | #include <sys/vfs.h> |
3832 | #endif | 3833 | #endif |
3834 | #ifdef HAVE_SYS_MOUNT_H | ||
3835 | #include <sys/mount.h> | ||
3836 | #endif | ||
3833 | ]]) | 3837 | ]]) |
3834 | 3838 | ||
3835 | 3839 | ||