Mercurial > hg > octave-lyh > gnulib-hg
changeset 5808:d738e2619e2a
Workaround. From Albert Chin <bug-gnulib@mlists.thewrittenword.com>.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 26 Apr 2005 12:20:22 +0000 |
parents | 12888fdf59f1 |
children | e417866a6925 |
files | lib/ChangeLog lib/regex.c |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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>