summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/fstatat.c
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2012-10-11 12:15:50 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-02-20 13:45:13 +0100
commit13f56c443b697190373d555b25e2577dcd32a3b6 (patch)
treea0164afaeac93ec9cdfaf1874dbdf725f3840b26 /libc/sysdeps/linux/common/fstatat.c
parentaec10d86476d24a68445d2deb61210f572a435e8 (diff)
stat: Use fstatat64 if arch does not have the stat syscall
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/fstatat.c')
-rw-r--r--libc/sysdeps/linux/common/fstatat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/fstatat.c b/libc/sysdeps/linux/common/fstatat.c
index 06c3ab912..4006814f0 100644
--- a/libc/sysdeps/linux/common/fstatat.c
+++ b/libc/sysdeps/linux/common/fstatat.c
@@ -38,6 +38,7 @@ int fstatat(int fd, const char *file, struct stat *buf, int flag)
# endif /* __ARCH_HAS_DEPRECATED_SYSCALLS__ */
return ret;
}
+libc_hidden_def(fstatat)
#else
/* should add emulation with fstat() and /proc/self/fd/ ... */
#endif