From 43da001e78cbfbeed8a49229ddb10db203979320 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 21 Jan 2006 21:55:20 +0000 Subject: fix building on 64bit hosts --- libc/sysdeps/linux/common/fstat.c | 1 + libc/sysdeps/linux/common/lstat.c | 1 + libc/sysdeps/linux/common/stat.c | 1 + 3 files changed, 3 insertions(+) (limited to 'libc/sysdeps/linux') 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) -- cgit v1.2.3