summary refs log tree commit diff
path: root/stdio-common
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/asprintf.c1
-rw-r--r--stdio-common/dprintf.c1
-rw-r--r--stdio-common/getw.c1
-rw-r--r--stdio-common/putw.c1
-rw-r--r--stdio-common/snprintf.c1
-rw-r--r--stdio-common/sprintf.c1
-rw-r--r--stdio-common/sscanf.c1
7 files changed, 7 insertions, 0 deletions
diff --git a/stdio-common/asprintf.c b/stdio-common/asprintf.c
index 56c49de4e1..5c2377d184 100644
--- a/stdio-common/asprintf.c
+++ b/stdio-common/asprintf.c
@@ -20,6 +20,7 @@
 #include <stdio.h>
 
 #ifdef USE_IN_LIBIO
+# include <libio/libioP.h>
 # define vasprintf(s, f, a) _IO_vasprintf (s, f, a)
 #endif
 
diff --git a/stdio-common/dprintf.c b/stdio-common/dprintf.c
index eddaea8cf8..6c3266d1df 100644
--- a/stdio-common/dprintf.c
+++ b/stdio-common/dprintf.c
@@ -20,6 +20,7 @@
 #include <stdio.h>
 
 #ifdef USE_IN_LIBIO
+# include <libio/libioP.h>
 # define vdprintf(d, f, a) _IO_vdprintf (d, f, a)
 #endif
 
diff --git a/stdio-common/getw.c b/stdio-common/getw.c
index 03da6c3906..0305cbd46c 100644
--- a/stdio-common/getw.c
+++ b/stdio-common/getw.c
@@ -19,6 +19,7 @@
 #include <stdio.h>
 
 #ifdef USE_IN_LIBIO
+# include <libio/iolibio.h>
 # define fread(p, m, n, s) _IO_fread (p, m, n, s)
 #endif
 
diff --git a/stdio-common/putw.c b/stdio-common/putw.c
index 31cc00f41d..5c883186cd 100644
--- a/stdio-common/putw.c
+++ b/stdio-common/putw.c
@@ -19,6 +19,7 @@
 #include <stdio.h>
 
 #ifdef USE_IN_LIBIO
+# include <libio/iolibio.h>
 # define fwrite(p, n, m, s) _IO_fwrite (p, n, m, s)
 #endif
 
diff --git a/stdio-common/snprintf.c b/stdio-common/snprintf.c
index 08aaf88f18..d27ec5ecd5 100644
--- a/stdio-common/snprintf.c
+++ b/stdio-common/snprintf.c
@@ -20,6 +20,7 @@
 #include <stdio.h>
 
 #ifdef USE_IN_LIBIO
+# include <libio/libioP.h>
 # define __vsnprintf(s, l, f, a) _IO_vsnprintf (s, l, f, a)
 #endif
 
diff --git a/stdio-common/sprintf.c b/stdio-common/sprintf.c
index 0a0259ef0c..eaa4318b9c 100644
--- a/stdio-common/sprintf.c
+++ b/stdio-common/sprintf.c
@@ -20,6 +20,7 @@
 #include <stdio.h>
 
 #ifdef USE_IN_LIBIO
+# include <libio/iolibio.h>
 # define vsprintf(s, f, a) _IO_vsprintf (s, f, a)
 #endif
 
diff --git a/stdio-common/sscanf.c b/stdio-common/sscanf.c
index 809f059ef3..43a40701d8 100644
--- a/stdio-common/sscanf.c
+++ b/stdio-common/sscanf.c
@@ -20,6 +20,7 @@
 #include <stdio.h>
 
 #ifdef USE_IN_LIBIO
+# include <libio/iolibio.h>
 # define __vsscanf(s, f, a) _IO_vsscanf (s, f, a)
 #endif