summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/renameat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/renameat.c')
-rw-r--r--libc/sysdeps/linux/common/renameat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/renameat.c b/libc/sysdeps/linux/common/renameat.c
index a898f7b86..b0b91fa3e 100644
--- a/libc/sysdeps/linux/common/renameat.c
+++ b/libc/sysdeps/linux/common/renameat.c
@@ -11,6 +11,7 @@
#ifdef __NR_renameat
_syscall4(int, renameat, int, oldfd, const char *, old, int, newfd, const char *, new)
+libc_hidden_def(renameat)
#else
/* should add emulation with rename() and /proc/self/fd/ ... */
#endif