aboutsummaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
Diffstat (limited to 'libio')
-rw-r--r--libio/libio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libio/libio.h b/libio/libio.h
index fcb8ae6..011d440 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