Move unistd.h detection to the correct wscript

This fixes macOS builds (getpid())
This commit is contained in:
Robin Gareus 2025-12-02 16:38:42 +01:00
parent 6ce8358709
commit d0109bed16
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 2 additions and 2 deletions

View file

@ -341,7 +341,6 @@ def configure(conf):
conf.check(header_name='sys/vfs.h', define_name='HAVE_SYS_VFS_H',mandatory=False)
conf.check(header_name='sys/statvfs.h', define_name='HAVE_SYS_STATVFS_H',mandatory=False)
conf.check(header_name='unistd.h', define_name='HAVE_UNISTD_H',mandatory=False)
have_sys_ioprio = conf.check_cc(
msg="Checking for 'ioprio_set' syscall support",