summaryrefslogtreecommitdiff
path: root/libc/misc/statfs/fstatvfs64.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/statfs/fstatvfs64.c')
-rw-r--r--libc/misc/statfs/fstatvfs64.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libc/misc/statfs/fstatvfs64.c b/libc/misc/statfs/fstatvfs64.c
index 2d44e4217..638a211a7 100644
--- a/libc/misc/statfs/fstatvfs64.c
+++ b/libc/misc/statfs/fstatvfs64.c
@@ -38,11 +38,13 @@ libc_hidden_proto(endmntent)
#undef stat
#define stat stat64
-#if defined __UCLIBC_LINUX_SPECIFIC__
+#if !defined __UCLIBC_LINUX_SPECIFIC__
+libc_hidden_proto(fstatvfs)
+#else
libc_hidden_proto(fstatfs64)
-libc_hidden_proto(fstat64)
#endif
-libc_hidden_proto(stat64)
+libc_hidden_proto(fstat64)
+libc_hidden_proto(stat)
int fstatvfs64 (int fd, struct statvfs64 *buf)
{