mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-15 08:56:38 -05:00
meson.build: check for SYS_pidfd_open
This commit is contained in:
parent
18b3efa2ed
commit
14eb43ea86
3 changed files with 9 additions and 0 deletions
|
|
@ -282,6 +282,10 @@ if cc.has_function('sigabbrev_np', prefix : '#include <string.h>', args : [ '-D_
|
|||
cdata.set('HAVE_SIGABBREV_NP', 1)
|
||||
endif
|
||||
|
||||
if cc.get_define('SYS_pidfd_open', prefix : '#include <syscall.h>') != ''
|
||||
cdata.set('HAVE_PIDFD_OPEN', 1)
|
||||
endif
|
||||
|
||||
systemd = dependency('systemd', required: get_option('systemd'))
|
||||
systemd_dep = dependency('libsystemd',required: get_option('systemd'))
|
||||
if systemd.found() and systemd_dep.found()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue