From 7b961e40ee5cd5c453cad70906327ea5a11fa75e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 25 Dec 2017 12:35:28 +0100 Subject: [PATCH] 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. --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 9911afb0e7e..9fc45abc027 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