diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-21 21:55:20 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-21 21:55:20 +0000 |
commit | 43da001e78cbfbeed8a49229ddb10db203979320 (patch) | |
tree | 8cf578b0cdc76b16db4ca796a477a8d1b4232278 /libc/sysdeps/linux/common | |
parent | 2dd3ea96d35b9a58a075589040e15e979b0f566b (diff) |
fix building on 64bit hosts
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r-- | libc/sysdeps/linux/common/fstat.c | 1 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/lstat.c | 1 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/stat.c | 1 |
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) |