Check for sys/mount.h and sys/vfs.h headers and include them conditionally

This commit is contained in:
Gleb Popov 2021-02-24 19:02:47 +03:00 committed by Wim Taymans
parent c5e42aa9db
commit dbc9a520ef
4 changed files with 20 additions and 1 deletions

View file

@ -214,6 +214,7 @@ check_headers = [['dlfcn.h','HAVE_DLFCN_H'],
['stdio_ext.h', 'HAVE_STDIO_EXT_H'],
['strings.h', 'HAVE_STRINGS_H'],
['string.h', 'HAVE_STRING_H'],
['sys/mount.h', 'HAVE_SYS_MOUNT_H'],
['sys/param.h', 'HAVE_SYS_PARAM_H'],
['sys/poll.h', 'HAVE_SYS_POLL_H'],
['sys/prctl.h', 'HAVE_SYS_PRCTL_H'],
@ -223,6 +224,7 @@ check_headers = [['dlfcn.h','HAVE_DLFCN_H'],
['sys/time.h', 'HAVE_SYS_TIME_H'],
['sys/types.h', 'HAVE_SYS_TYPES_H'],
['sys/utsname.h', 'HAVE_SYS_UTSNAME_H'],
['sys/vfs.h', 'HAVE_SYS_VFS_H'],
['sys/wait.h', 'HAVE_SYS_WAIT_H'],
['pwd.h', 'HAVE_PWD_H'],
['ucontext.h', 'HAVE_UCONTEXT_H'],