aboutsummaryrefslogtreecommitdiff
path: root/csu/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'csu/init.c')
-rw-r--r--csu/init.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/csu/init.c b/csu/init.c
index df08f6c918..a2d16361f1 100644
--- a/csu/init.c
+++ b/csu/init.c
@@ -28,10 +28,9 @@
#if defined USE_IN_LIBIO && defined __GNUC__ && __GNUC__ >= 2
-#undef _LIBC
-#include <libio.h>
+#include <_G_config.h>
/* This records which stdio is linked against in the application. */
-const void *const _IO_stdin_used = _IO_stdin;
+const int _IO_stdin_used = _G_IO_IO_FILE_VERSION;
#endif