about summary refs log tree commit diff
path: root/csu
diff options
context:
space:
mode:
Diffstat (limited to 'csu')
-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