* lib/mcel.h: Include wchar.h directly needed for wint_t. Since commit b6d5b2f729 uchar.h only includes it in some cases. * modules/mcel: Depend on wchar-h. --- ChangeLog | 7 +++++++ lib/mcel.h | 1 + modules/mcel | 1 + 3 files changed, 9 insertions(+)
diff --git a/ChangeLog b/ChangeLog index 4b5c91414a..a96522f261 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2026-12-02 Pádraig Brady <[email protected]> + + mcel: fix missing wchar.h dependency + * lib/mcel.h: Include wchar.h directly needed for wint_t. + Since commit b6d5b2f729 uchar.h only includes it in some cases. + * modules/mcel: Depend on wchar-h. + 2026-12-02 Pádraig Brady <[email protected]> mcel: treat any decoded length > MB_CUR_MAX as an error diff --git a/lib/mcel.h b/lib/mcel.h index 29753c86a5..6b1aad37e6 100644 --- a/lib/mcel.h +++ b/lib/mcel.h @@ -103,6 +103,7 @@ #include <stddef.h> #include <stdlib.h> #include <uchar.h> +#include <wchar.h> _GL_INLINE_HEADER_BEGIN #ifndef MCEL_INLINE diff --git a/modules/mcel b/modules/mcel index 8dcdd9f6f5..ebd1f9dba3 100644 --- a/modules/mcel +++ b/modules/mcel @@ -14,6 +14,7 @@ mbrtoc32 bool stdlib-h uchar-h +wchar-h verify configure.ac: -- 2.56.0
