build: check for getrandom and sys/random.h

Fixes #833
This commit is contained in:
Wim Taymans 2021-03-04 10:57:48 +01:00
parent 3af768f124
commit a4b0b9afe5
3 changed files with 27 additions and 5 deletions

View file

@ -269,6 +269,9 @@
/* Define to 1 if you have the <sys/prctl.h> header file. */
#mesondefine HAVE_SYS_PRCTL_H
/* Define to 1 if you have the <sys/random.h> header file. */
#mesondefine HAVE_SYS_RANDOM_H
/* Define to 1 if you have the <sys/socket.h> header file. */
#mesondefine HAVE_SYS_SOCKET_H
@ -473,6 +476,7 @@
#mesondefine HAVE_DECL_LOCALTIME_R
#mesondefine HAVE_DECL_STRSIGNAL
#mesondefine HAVE_MEMFD_CREATE
#mesondefine HAVE_GETRANDOM
#mesondefine PIPEWIRE_VERSION_MAJOR
#mesondefine PIPEWIRE_VERSION_MINOR