mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
build: make sure memfd_create is found
This commit is contained in:
parent
4516fcecc4
commit
f902a34290
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ if cc.has_function('mkstemp', prefix : '#include <stdlib.h>')
|
||||||
cdata.set('HAVE_MKSTEMP', 1)
|
cdata.set('HAVE_MKSTEMP', 1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if cc.has_function('memfd_create', prefix : '#include <sys/mman.h>')
|
if cc.has_function('memfd_create', prefix : '#include <sys/mman.h>', args : [ '-D__USE_GNU' ])
|
||||||
cdata.set('HAVE_MEMFD_CREATE', 1)
|
cdata.set('HAVE_MEMFD_CREATE', 1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue