about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-08-17 14:14:10 +0000
committerAndreas Jaeger <aj@suse.de>2001-08-17 14:14:10 +0000
commit9605a4f1b8d40caa120c238543363c9ff148333b (patch)
tree42d0daa2790b429365587256000815562bf38911
parent8dcc6a3f1b3648fffbcc7039f1dc3abab7eb7433 (diff)
downloadglibc-9605a4f1b8d40caa120c238543363c9ff148333b.tar.gz
glibc-9605a4f1b8d40caa120c238543363c9ff148333b.tar.xz
glibc-9605a4f1b8d40caa120c238543363c9ff148333b.zip
Include wchar.h for prototypes.
-rw-r--r--malloc/obstack.c3
-rw-r--r--misc/getpass.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/malloc/obstack.c b/malloc/obstack.c
index 2e50397150..e5c0c40de4 100644
--- a/malloc/obstack.c
+++ b/malloc/obstack.c
@@ -46,6 +46,9 @@
 #endif
 #endif
 
+#if defined _LIBC && defined USE_IN_LIBIO
+# include <wchar.h>
+#endif
 
 #ifndef ELIDE_CODE
 
diff --git a/misc/getpass.c b/misc/getpass.c
index c392221f67..e5483f9e50 100644
--- a/misc/getpass.c
+++ b/misc/getpass.c
@@ -22,6 +22,7 @@
 #include <unistd.h>
 
 #ifdef USE_IN_LIBIO
+# include <wchar.h>
 # define flockfile(s) _IO_flockfile (s)
 # define funlockfile(s) _IO_funlockfile (s)
 #endif