commit | 609aa9b0fc1dbaa21f2ab5d895fc6c30e26a4af5 | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@zytor.com> | Wed Feb 15 08:28:30 2006 -0800 |
committer | H. Peter Anvin <hpa@zytor.com> | Wed Feb 15 08:28:30 2006 -0800 |
tree | 2cfeb436110619b3fa35d3b0be0d3f270e144944 | |
parent | d4d4d1c4ed9ad6f3d3332e6108c9dab764398eef [diff] |
Deal with architectures which haven't implemented openat() yet Signed-off-by: H. Peter Anvin <hpa@zytor.com>
diff --git a/klibc/openat.c b/klibc/openat.c index b8ae053..2975112 100644 --- a/klibc/openat.c +++ b/klibc/openat.c
@@ -10,7 +10,7 @@ #include <fcntl.h> #include <bitsize.h> -#if _BITSIZE == 32 && !defined(__i386__) +#if _BITSIZE == 32 && !defined(__i386__) && defined(__NR_openat) extern int __openat(int, const char *, int, mode_t);