From a678e0cb74d3af462bebde6633e72bca0fe7f302 Mon Sep 17 00:00:00 2001 From: Bruno Haible <bruno@clisp.org> Date: Tue, 26 Apr 2005 12:20:22 +0000 Subject: [PATCH] Workaround. From Albert Chin <bug-gnulib@mlists.thewrittenword.com>. --- lib/ChangeLog | 5 +++++ lib/regex.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/lib/ChangeLog b/lib/ChangeLog index 2032bcd896..6e918a5bcf 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -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 diff --git a/lib/regex.c b/lib/regex.c index 51106c0510..9213783197 100644 --- a/lib/regex.c +++ b/lib/regex.c @@ -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> -- 2.39.5