On Tru64 UNIX 4.0D and 5.1, with the commercial Compaq Desktop
Toolkit, <wchar.h> needs <stdio.h>.

Patch below.

-- 
albert chin ([EMAIL PROTECTED])

-- snip snip
Index: lib/regex.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/regex.c,v
retrieving revision 1.87
diff -u -3 -p -r1.87 regex.c
--- lib/regex.c 15 Mar 2005 12:04:08 -0000      1.87
+++ lib/regex.c 25 Apr 2005 17:35:40 -0000
@@ -41,6 +41,9 @@
 /* For platform which support the ISO C amendement 1 functionality we
    support user defined character classes.  */
 # if defined _LIBC || WIDE_CHAR_SUPPORT
+/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
+   <wchar.h>. */
+#  include <stdio.h>
 /* Solaris 2.5 has a bug: <wchar.h> must be included before <wctype.h>.  */
 #  include <wchar.h>
 #  include <wctype.h>


_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to