summaryrefslogtreecommitdiff
path: root/libc/unistd
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-14 14:30:48 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-07-14 14:30:48 +0000
commit08b75763d15cf9e5f45eef70fe7e30ce2b748ae3 (patch)
tree938826102a35c2538079ceecdcba395c253b84cb /libc/unistd
parent074cafed76801cb21a2b66e1ab4eef6c943eb52a (diff)
- improve UCLIBC_LINUX_SPECIFIC
compile-tested only, fixes libc/misc/statfs/fstatfs64.c:29: error: 'fstatfs' undeclared here (not in a function)
Diffstat (limited to 'libc/unistd')
-rw-r--r--libc/unistd/fpathconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/unistd/fpathconf.c b/libc/unistd/fpathconf.c
index f3e2ffe83..96bc62199 100644
--- a/libc/unistd/fpathconf.c
+++ b/libc/unistd/fpathconf.c
@@ -32,7 +32,7 @@
//#include "linux_fsinfo.h"
libc_hidden_proto(fstat)
-#if !defined __UCLIBC_LINUX_SPECIFIC__
+
#ifndef __USE_FILE_OFFSET64
extern int fstatfs (int __fildes, struct statfs *__buf)
__THROW __nonnull ((2));
@@ -44,7 +44,7 @@ extern int fstatfs (int __fildes, struct statfs *__buf)
# define fstatfs fstatfs64
# endif
#endif
-#endif
+
extern __typeof(fstatfs) __libc_fstatfs;
libc_hidden_proto(__libc_fstatfs)