From: Lennart Poettering Date: Mon, 25 Dec 2017 11:35:28 +0000 (+0100) Subject: meson: look for gettid() definition where getpid() is defined X-Git-Tag: v237~179^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b961e40ee5cd5c453cad70906327ea5a11fa75e;p=platform%2Fupstream%2Fsystemd.git 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. --- diff --git a/meson.build b/meson.build index 9911afb..9fc45ab 100644 --- a/meson.build +++ b/meson.build @@ -455,7 +455,8 @@ endforeach foreach ident : [ ['memfd_create', '''#include '''], - ['gettid', '''#include '''], + ['gettid', '''#include + #include '''], ['pivot_root', '''#include #include '''], # no known header declares pivot_root ['name_to_handle_at', '''#include