]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
localeinfo: Make sure mbszero can be called.
authorBruno Haible <bruno@clisp.org>
Tue, 12 May 2026 10:35:59 +0000 (12:35 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 12 May 2026 10:35:59 +0000 (12:35 +0200)
* lib/localeinfo.c: Include <wchar.h>.
* modules/localeinfo (Depends-on): Add wchar-h.

ChangeLog
lib/localeinfo.c
modules/localeinfo

index 3a27570df1cc60dddc6e06f0023d11ac024dd1e4..9f1011c7d7d325d7976298616662f98a7ab8cb57 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2026-05-12  Bruno Haible  <bruno@clisp.org>
+
+       localeinfo: Make sure mbszero can be called.
+       * lib/localeinfo.c: Include <wchar.h>.
+       * modules/localeinfo (Depends-on): Add wchar-h.
+
 2026-05-12  Bruno Haible  <bruno@clisp.org>
 
        error: Restore library name-spacing of verror_at_line.
index 5da4e579b467721f238e99ea7d39fd70306027d6..864eb1f5c439558b957ef9b56fbd5ec1c5b89a4f 100644 (file)
@@ -29,6 +29,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <uchar.h>
+#include <wchar.h>
 
 /* The sbclen implementation relies on this.  */
 verify (MB_LEN_MAX <= SCHAR_MAX);
index 85e0de18f73c2fa6ed86249311395b7894769e75..c2c6d4fa0021f2bbb4d251153f9f3c6d82ddefaf 100644 (file)
@@ -21,6 +21,7 @@ uchar-h
 # to enable it.
 #uchar-h-c23
 verify
+wchar-h
 
 configure.ac: