meson.build: test for the presence of <sys/auxv.h>

This commit is contained in:
Sean McGovern 2023-09-24 20:35:10 -04:00 committed by Steve Lhomme
parent de4685a6d8
commit ba02c9b5ac
2 changed files with 4 additions and 0 deletions

View File

@ -128,6 +128,9 @@
/* Define to 1 if you have the `fsync' function. */
#mesondefine HAVE_FSYNC
/* Define to 1 if you have the <sys/auxv.h> header file */
#mesondefine HAVE_SYS_AUXV_H
/* Define to 1 if you have the `getauxval' function. */
#mesondefine HAVE_GETAUXVAL

View File

@ -221,6 +221,7 @@ check_c_headers = [
['netinet/udplite.h'],
['pthread.h'],
['poll.h'],
['sys/auxv.h'],
['sys/eventfd.h'],
['sys/mount.h'],
['sys/shm.h'],