summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/unlinkat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/unlinkat.c')
-rw-r--r--libc/sysdeps/linux/common/unlinkat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/unlinkat.c b/libc/sysdeps/linux/common/unlinkat.c
index 0eaf2b670..432af1b75 100644
--- a/libc/sysdeps/linux/common/unlinkat.c
+++ b/libc/sysdeps/linux/common/unlinkat.c
@@ -11,6 +11,7 @@
#ifdef __NR_unlinkat
_syscall3(int, unlinkat, int, fd, const char *, file, int, flag)
+libc_hidden_def(unlinkat)
#else
/* should add emulation with unlink() and /proc/self/fd/ ... */
#endif