meson: look for gettid() definition where getpid() is defined
Hopefully, should gettid() show up one day in glibc it'll show up where getpid() is defined too.
This commit is contained in:
parent
3c042add1d
commit
7b961e40ee
|
@ -455,7 +455,8 @@ endforeach
|
||||||
|
|
||||||
foreach ident : [
|
foreach ident : [
|
||||||
['memfd_create', '''#include <sys/mman.h>'''],
|
['memfd_create', '''#include <sys/mman.h>'''],
|
||||||
['gettid', '''#include <sys/types.h>'''],
|
['gettid', '''#include <sys/types.h>
|
||||||
|
#include <unistd.h>'''],
|
||||||
['pivot_root', '''#include <stdlib.h>
|
['pivot_root', '''#include <stdlib.h>
|
||||||
#include <unistd.h>'''], # no known header declares pivot_root
|
#include <unistd.h>'''], # no known header declares pivot_root
|
||||||
['name_to_handle_at', '''#include <sys/types.h>
|
['name_to_handle_at', '''#include <sys/types.h>
|
||||||
|
|
Loading…
Reference in New Issue