summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-12-25 12:35:43 +0100
committerLennart Poettering <lennart@poettering.net>2017-12-25 12:35:43 +0100
commit2acfd0ff439b6317f91c32f6dbb42e9ce06b8943 (patch)
treee65bd8fc6f32d7237fda354784a8c521338c80ce /meson.build
parentmeson: look for gettid() definition where getpid() is defined (diff)
downloadsystemd-2acfd0ff439b6317f91c32f6dbb42e9ce06b8943.tar.xz
systemd-2acfd0ff439b6317f91c32f6dbb42e9ce06b8943.zip
meson: hopefully renameat2() will show up where renameat() is defined
Should glibc add this eventually, let's try to be smart where to look for it.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 9fc45abc02..c582c1b4ee 100644
--- a/meson.build
+++ b/meson.build
@@ -463,7 +463,8 @@ foreach ident : [
#include <sys/stat.h>
#include <fcntl.h>'''],
['setns', '''#include <sched.h>'''],
- ['renameat2', '''#include <stdio.h>'''],
+ ['renameat2', '''#include <stdio.h>
+ #include <fcntl.h>'''],
['kcmp', '''#include <linux/kcmp.h>'''],
['keyctl', '''#include <sys/types.h>
#include <keyutils.h>'''],