diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/uchar.in.h | 4 |
2 files changed, 9 insertions, 0 deletions
@@ -1,5 +1,10 @@ 2023-04-05 Bruno Haible <bruno@clisp.org> + uchar: Fix recent change. + * lib/uchar.in.h: Include <string.h>, <wctype.h>. + +2023-04-05 Bruno Haible <bruno@clisp.org> + localename tests: Work around a Haiku bug. * tests/test-localename.c (freelocale): New macro. diff --git a/lib/uchar.in.h b/lib/uchar.in.h index 7c20ddd878..b5554c64b6 100644 --- a/lib/uchar.in.h +++ b/lib/uchar.in.h @@ -49,6 +49,10 @@ /* Get mbstate_t, size_t. */ #include <wchar.h> +/* For the inline functions. */ +#include <string.h> +#include <wctype.h> + /* The __attribute__ feature is available in gcc versions 2.5 and later. The attribute __pure__ was added in gcc 2.96. */ #ifndef _GL_ATTRIBUTE_PURE |