about summary refs log tree commit diff
path: root/libio/libio.h
diff options
context:
space:
mode:
Diffstat (limited to 'libio/libio.h')
-rw-r--r--libio/libio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libio/libio.h b/libio/libio.h
index fcb8ae6eaa..011d44042e 100644
--- a/libio/libio.h
+++ b/libio/libio.h
@@ -255,6 +255,7 @@ extern _IO_FILE *_IO_stderr;
 #endif
 
 
+#ifdef _GNU_SOURCE
 /* Define the user-visible type, with user-friendly member names.  */
 typedef struct
 {
@@ -272,6 +273,7 @@ struct _IO_cookie_file
   void *cookie;
   _IO_cookie_io_functions_t io_functions;
 };
+#endif
 
 
 #ifdef __cplusplus