diff options
Diffstat (limited to 'libc/stdio/fcloseall.c')
-rw-r--r-- | libc/stdio/fcloseall.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/stdio/fcloseall.c b/libc/stdio/fcloseall.c index dbb600067..7d2422562 100644 --- a/libc/stdio/fcloseall.c +++ b/libc/stdio/fcloseall.c @@ -5,8 +5,13 @@ * Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details. */ +#include <features.h> + +#ifdef __USE_GNU #include "_stdio.h" +libc_hidden_proto(fclose) + /* NOTE: GLIBC difference!!! -- fcloseall * According to the info pages, glibc actually fclose()s all open files. * Apparently, glibc's new version only fflush()s and unbuffers all @@ -38,3 +43,4 @@ int fcloseall (void) #endif } +#endif |