summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-12-25 12:35:43 +0100
committerSven Eden <yamakuzure@gmx.net>2018-05-30 07:49:42 +0200
commitfaf2e1370d9d3c1e8bfcb17bbd813be53727e9e7 (patch)
tree56ed59304c8a7914a4120cca48bc7c776a06359e /meson.build
parentddad5ef8ae7f0fbb74de0052fcbc4bcd0fa25116 (diff)
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 7871a1c8e..d4c90b803 100644
--- a/meson.build
+++ b/meson.build
@@ -527,7 +527,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>'''],