summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/read.c')
-rw-r--r--libc/sysdeps/linux/common/read.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/read.c b/libc/sysdeps/linux/common/read.c
index b380812e6..9e122fc10 100644
--- a/libc/sysdeps/linux/common/read.c
+++ b/libc/sysdeps/linux/common/read.c
@@ -11,4 +11,9 @@
#include <unistd.h>
_syscall3(ssize_t, read, int, fd, __ptr_t, buf, size_t, count)
+#ifndef __LINUXTHREADS_OLD__
libc_hidden_def(read)
+#else
+libc_hidden_weak(read)
+strong_alias(read,__libc_read)
+#endif