summaryrefslogtreecommitdiff
path: root/configure.ac
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 /configure.ac
parente9dede06e5bc582a4aeb5b1cd5a7a640d7de3609 (diff)
bsd-statvfs: include sys/vfs.h, check for f_flags.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac18
1 files changed, 18 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 605844ba2..e9762ba68 100644
--- a/configure.ac
+++ b/configure.ac
@@ -409,6 +409,7 @@ AC_CHECK_HEADERS([ \
409 sys/sysmacros.h \ 409 sys/sysmacros.h \
410 sys/time.h \ 410 sys/time.h \
411 sys/timers.h \ 411 sys/timers.h \
412 sys/vfs.h \
412 time.h \ 413 time.h \
413 tmpdir.h \ 414 tmpdir.h \
414 ttyent.h \ 415 ttyent.h \
@@ -3659,6 +3660,23 @@ AC_CHECK_TYPES([fsblkcnt_t, fsfilcnt_t], , , [
3659#endif 3660#endif
3660]) 3661])
3661 3662
3663AC_CHECK_MEMBERS([struct statfs.f_flags], [], [], [[
3664#include <sys/types.h>
3665#ifdef HAVE_SYS_BITYPES_H
3666#include <sys/bitypes.h>
3667#endif
3668#ifdef HAVE_SYS_STATFS_H
3669#include <sys/statfs.h>
3670#endif
3671#ifdef HAVE_SYS_STATVFS_H
3672#include <sys/statvfs.h>
3673#endif
3674#ifdef HAVE_SYS_VFS_H
3675#include <sys/vfs.h>
3676#endif
3677]])
3678
3679
3662AC_CHECK_TYPES([in_addr_t, in_port_t], , , 3680AC_CHECK_TYPES([in_addr_t, in_port_t], , ,
3663[#include <sys/types.h> 3681[#include <sys/types.h>
3664#include <netinet/in.h>]) 3682#include <netinet/in.h>])