diff options
author | Bruno Haible <bruno@clisp.org> | 2023-04-05 17:46:20 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-04-05 17:46:20 +0200 |
commit | 514bdc3f7f0f38fd39b7e0ee6a59c4e2708923ec (patch) | |
tree | b515a55d35b0ba3bd478fc86041a0a2246c9609e | |
parent | dddf540b4b41c0f4d73cbfa14b47d2551b79bffd (diff) | |
download | gnulib-514bdc3f7f0f38fd39b7e0ee6a59c4e2708923ec.tar.gz |
uchar: Fix recent change.
* lib/uchar.in.h: Include <string.h>, <wctype.h>.
-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 |