summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/fstat.c1
-rw-r--r--libc/sysdeps/linux/common/lstat.c1
-rw-r--r--libc/sysdeps/linux/common/stat.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/fstat.c b/libc/sysdeps/linux/common/fstat.c
index a51b46c71..c89d7e57c 100644
--- a/libc/sysdeps/linux/common/fstat.c
+++ b/libc/sysdeps/linux/common/fstat.c
@@ -37,6 +37,7 @@ int fstat(int fd, struct stat *buf)
libc_hidden_def(fstat)
#if ! defined __NR_fstat64 && defined __UCLIBC_HAS_LFS__
+extern __typeof(fstat) fstat64;
libc_hidden_proto(fstat64)
strong_alias(fstat,fstat64)
libc_hidden_def(fstat64)
diff --git a/libc/sysdeps/linux/common/lstat.c b/libc/sysdeps/linux/common/lstat.c
index f92750c5d..06c7c5d90 100644
--- a/libc/sysdeps/linux/common/lstat.c
+++ b/libc/sysdeps/linux/common/lstat.c
@@ -38,6 +38,7 @@ int lstat(const char *file_name, struct stat *buf)
libc_hidden_def(lstat)
#if ! defined __NR_lstat64 && defined __UCLIBC_HAS_LFS__
+extern __typeof(lstat) lstat64;
libc_hidden_proto(lstat64)
strong_alias(lstat,lstat64)
libc_hidden_def(lstat64)
diff --git a/libc/sysdeps/linux/common/stat.c b/libc/sysdeps/linux/common/stat.c
index cc5e8fdb5..662ed665a 100644
--- a/libc/sysdeps/linux/common/stat.c
+++ b/libc/sysdeps/linux/common/stat.c
@@ -39,6 +39,7 @@ int stat(const char *file_name, struct stat *buf)
libc_hidden_def(stat)
#if ! defined __NR_stat64 && defined __UCLIBC_HAS_LFS__
+extern __typeof(stat) stat64;
libc_hidden_proto(stat64)
strong_alias(stat,stat64)
libc_hidden_def(stat64)