Workaround. From Albert Chin <bug-gnulib@mlists.thewrittenword.com>.
authorBruno Haible <bruno@clisp.org>
Tue, 26 Apr 2005 12:20:22 +0000 (12:20 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 26 Apr 2005 12:20:22 +0000 (12:20 +0000)
lib/ChangeLog
lib/regex.c

index 2032bcd8963b1be6d077d92bc3390ecf03fbd5cb..6e918a5bcf37824e474a2ba5b209b6b63b1de8d5 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-25  Albert Chin  <bug-gnulib@mlists.thewrittenword.com>
+
+       * regex.c: Include <stdio.h>, as a workaround to a Compaq Desktop
+       Toolkit C bug.
+
 2005-04-13  Paul Eggert  <eggert@cs.ucla.edu>
 
        * getdate.y (zone): Allow relunit_snumber after tZONE, so
index 51106c05109b4519fb43c4aa064ab02c143d98b9..921378319772fe6678f9d7b79970dfe43f90d8ba 100644 (file)
@@ -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>