summaryrefslogtreecommitdiff
path: root/libc/stdio/fopencookie.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-13 08:52:46 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-13 08:52:46 +0000
commit4cca91e9f0b67a157292bbd3763418f93bb1db6d (patch)
tree6804282a474b5611c820a1dbd95d3e50107acdf2 /libc/stdio/fopencookie.c
parent49907ee1c53861b8692709e1b199f5a5442adf67 (diff)
Mark functions as GNU extensions
Diffstat (limited to 'libc/stdio/fopencookie.c')
-rw-r--r--libc/stdio/fopencookie.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/stdio/fopencookie.c b/libc/stdio/fopencookie.c
index d754deba5..0b7ed84b1 100644
--- a/libc/stdio/fopencookie.c
+++ b/libc/stdio/fopencookie.c
@@ -5,6 +5,9 @@
* Dedicated to Toni. See uClibc/DEDICATION.mjn3 for details.
*/
+#include <features.h>
+
+#ifdef __USE_GNU
#include "_stdio.h"
#ifndef __UCLIBC_HAS_GLIBC_CUSTOM_STREAMS__
@@ -61,3 +64,4 @@ FILE *_fopencookie(void * __restrict cookie, const char * __restrict mode,
#ifndef __BCC__
libc_hidden_def(fopencookie)
#endif
+#endif