summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/lseek.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/lseek.c')
-rw-r--r--libc/sysdeps/linux/common/lseek.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/lseek.c b/libc/sysdeps/linux/common/lseek.c
index b58f75c01..9ff424048 100644
--- a/libc/sysdeps/linux/common/lseek.c
+++ b/libc/sysdeps/linux/common/lseek.c
@@ -19,4 +19,9 @@ __off_t lseek(int fildes, __off_t offset, int whence)
return lseek64(fildes, offset, whence);
}
#endif
+#ifndef __LINUXTHREADS_OLD__
libc_hidden_def(lseek)
+#else
+libc_hidden_weak(lseek)
+strong_alias(lseek,__libc_lseek)
+#endif