projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c042ad
)
meson: look for gettid() definition where getpid() is defined
author
Lennart Poettering
<lennart@poettering.net>
Mon, 25 Dec 2017 11:35:28 +0000
(12:35 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 25 Dec 2017 11:35:28 +0000
(12:35 +0100)
Hopefully, should gettid() show up one day in glibc it'll show up where
getpid() is defined too.
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index
9911afb
..
9fc45ab
100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-455,7
+455,8
@@
endforeach
foreach ident : [
['memfd_create', '''#include <sys/mman.h>'''],
- ['gettid', '''#include <sys/types.h>'''],
+ ['gettid', '''#include <sys/types.h>
+ #include <unistd.h>'''],
['pivot_root', '''#include <stdlib.h>
#include <unistd.h>'''], # no known header declares pivot_root
['name_to_handle_at', '''#include <sys/types.h>