changeset 7757:e94e9d19184b

* lib/fnmatch.c: Reinstate inclusion of <wchar.h>, since this module uses more than what <wctype.h> is required to provide.
author Eric Blake <ebb9@byu.net>
date Wed, 27 Dec 2006 13:19:04 +0000
parents 742b4063e5c9
children ea1da95d3579
files ChangeLog lib/fnmatch.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-12-27  Eric Blake  <ebb9@byu.net>
+
+	* lib/fnmatch.c: Reinstate inclusion of <wchar.h>, since this
+	module uses more than what <wctype.h> is required to provide.
+
 2006-12-26  Eric Blake  <ebb9@byu.net>
 
 	* gnulib-tool (sed_extract_prog): Avoid space-tab.
--- a/lib/fnmatch.c
+++ b/lib/fnmatch.c
@@ -47,6 +47,7 @@
    support user defined character classes.  */
 #if defined _LIBC || WIDE_CHAR_SUPPORT
 # include <wctype.h>
+# include <wchar.h>
 #endif
 
 /* We need some of the locale data (the collation sequence information)