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.
This commit is contained in:
Lennart Poettering 2017-12-25 12:35:43 +01:00
parent 7b961e40ee
commit 2acfd0ff43
1 changed files with 2 additions and 1 deletions

View File

@ -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>'''],