mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 08:56:15 +09:00
meson: update header file to detect memfd_create()
This commit is contained in:
@@ -442,7 +442,8 @@ foreach ident : ['secure_getenv', '__secure_getenv']
|
||||
endforeach
|
||||
|
||||
foreach ident : [
|
||||
['memfd_create', '''#include <sys/memfd.h>'''],
|
||||
['memfd_create', '''#define _GNU_SOURCE
|
||||
#include <sys/mman.h>'''],
|
||||
['gettid', '''#include <sys/types.h>'''],
|
||||
['pivot_root', '''#include <stdlib.h>'''], # no known header declares pivot_root
|
||||
['name_to_handle_at', '''#define _GNU_SOURCE
|
||||
|
||||
Reference in New Issue
Block a user