From: Paul Eggert Date: Mon, 31 Mar 2008 05:50:54 +0000 (-0500) Subject: * lib/wchar.in.h [defined __need_mbstate_t]: Just include . X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce003b231f6c934025092afa7e5623f5fc36e1e6;p=pspp * lib/wchar.in.h [defined __need_mbstate_t]: Just include . Problem reported by Erik Benada in . --- diff --git a/ChangeLog b/ChangeLog index b7fdd2012a..49ada5780e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-03-30 Paul Eggert + + * lib/wchar.in.h [defined __need_mbstate_t]: Just include . + Problem reported by Erik Benada in + . + 2008-03-30 Bruno Haible * tests/test-strtod.c: Add comments about which assertion fails on which diff --git a/lib/wchar.in.h b/lib/wchar.in.h index 924a3382d3..d7a1b5d242 100644 --- a/lib/wchar.in.h +++ b/lib/wchar.in.h @@ -26,6 +26,14 @@ * the declaration of wcwidth(). */ +#ifdef __need_mbstate_t +/* Special invocation convention inside glibc header files. */ + +#@INCLUDE_NEXT@ @NEXT_WCHAR_H@ + +#else +/* Normal invocation convention. */ + #ifndef _GL_WCHAR_H /* Tru64 with Desktop Toolkit C has a bug: must be included before @@ -80,3 +88,4 @@ extern int wcwidth (int /* actually wchar_t */); #endif /* _GL_WCHAR_H */ #endif /* _GL_WCHAR_H */ +#endif