aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2006-02-15 08:28:30 -0800
committerH. Peter Anvin <hpa@zytor.com>2006-02-15 08:28:30 -0800
commit609aa9b0fc1dbaa21f2ab5d895fc6c30e26a4af5 (patch)
tree2cfeb436110619b3fa35d3b0be0d3f270e144944
parentd4d4d1c4ed9ad6f3d3332e6108c9dab764398eef (diff)
downloadklibc-609aa9b0fc1dbaa21f2ab5d895fc6c30e26a4af5.tar.gz
Deal with architectures which haven't implemented openat() yetklibc-1.2.3
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--klibc/openat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/klibc/openat.c b/klibc/openat.c
index b8ae053af637c..2975112da33ac 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);