diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/pwrite.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/pwrite.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/pwrite.c b/sysdeps/unix/sysv/linux/pwrite.c index 5ab046273f..c39ee8a163 100644 --- a/sysdeps/unix/sysv/linux/pwrite.c +++ b/sysdeps/unix/sysv/linux/pwrite.c @@ -18,6 +18,7 @@ #include <unistd.h> #include <sysdep-cancel.h> +#include <shlib-compat.h> #ifndef __OFF_T_MATCHES_OFF64_T @@ -30,4 +31,9 @@ __libc_pwrite (int fd, const void *buf, size_t count, off_t offset) strong_alias (__libc_pwrite, __pwrite) libc_hidden_weak (__pwrite) weak_alias (__libc_pwrite, pwrite) + +# if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_1, GLIBC_2_2) +compat_symbol (libc, __libc_pwrite, pwrite, GLIBC_2_2); +# endif + #endif |