about summary refs log tree commit diff
path: root/libio
diff options
context:
space:
mode:
Diffstat (limited to 'libio')
-rw-r--r--libio/vwprintf.c3
-rw-r--r--libio/wprintf.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/libio/vwprintf.c b/libio/vwprintf.c
index 1f3102e4ff..2394ec6e15 100644
--- a/libio/vwprintf.c
+++ b/libio/vwprintf.c
@@ -17,8 +17,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <stdarg.h>
-#undef	__OPTIMIZE__	/* Avoid inline `vwprintf' function.  */
-#include <stdio.h>
+#include <wchar.h>
 
 /* Write formatted output to stdout according to the
    format string FORMAT, using the argument list in ARG.  */
diff --git a/libio/wprintf.c b/libio/wprintf.c
index 6fb6c32554..7b5835bf5b 100644
--- a/libio/wprintf.c
+++ b/libio/wprintf.c
@@ -17,7 +17,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <stdarg.h>
-#include <stdio.h>
+#include <wchar.h>
 
 /* Write formatted output to stdout from the format string FORMAT.  */
 /* VARARGS1 */