mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-21 21:05:01 +02:00
statfs might be defined in sys/mount.h.
eg on old NetBSDs.
This commit is contained in:
parent
03ffc0951c
commit
382c18c20c
@ -3817,6 +3817,7 @@ AC_CHECK_TYPES([fsblkcnt_t, fsfilcnt_t], , , [
|
|||||||
])
|
])
|
||||||
|
|
||||||
AC_CHECK_MEMBERS([struct statfs.f_files, struct statfs.f_flags], [], [], [[
|
AC_CHECK_MEMBERS([struct statfs.f_files, struct statfs.f_flags], [], [], [[
|
||||||
|
#include <sys/param.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#ifdef HAVE_SYS_BITYPES_H
|
#ifdef HAVE_SYS_BITYPES_H
|
||||||
#include <sys/bitypes.h>
|
#include <sys/bitypes.h>
|
||||||
@ -3830,6 +3831,9 @@ AC_CHECK_MEMBERS([struct statfs.f_files, struct statfs.f_flags], [], [], [[
|
|||||||
#ifdef HAVE_SYS_VFS_H
|
#ifdef HAVE_SYS_VFS_H
|
||||||
#include <sys/vfs.h>
|
#include <sys/vfs.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_SYS_MOUNT_H
|
||||||
|
#include <sys/mount.h>
|
||||||
|
#endif
|
||||||
]])
|
]])
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user