summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/fchdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/fchdir.c')
-rw-r--r--libc/sysdeps/linux/common/fchdir.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/fchdir.c b/libc/sysdeps/linux/common/fchdir.c
index 55ee3a2a8..f4692cc2c 100644
--- a/libc/sysdeps/linux/common/fchdir.c
+++ b/libc/sysdeps/linux/common/fchdir.c
@@ -9,4 +9,6 @@
#include "syscalls.h"
#include <unistd.h>
-_syscall1(int, fchdir, int, fd);
+#define __NR___fchdir __NR_fchdir
+attribute_hidden _syscall1(int, __fchdir, int, fd);
+strong_alias(__fchdir,fchdir)