]> Savannah Git Hosting - gnulib.git/commitdiff
string-buffer tests: Fix a compilation error (regression from today).
authorBruno Haible <bruno@clisp.org>
Tue, 5 Sep 2023 02:01:22 +0000 (04:01 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 5 Sep 2023 02:01:22 +0000 (04:01 +0200)
* tests/test-string-buffer.c: Include <wchar.h>.

ChangeLog
tests/test-string-buffer.c

index dfd0784d0bd0a6f11cac7b78b7546172bc6521cc..f81d2c9b302583613cae5bda9995317d32257db9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2023-09-04  Bruno Haible  <bruno@clisp.org>
 
+       string-buffer tests: Fix a compilation error (regression from today).
+       * tests/test-string-buffer.c: Include <wchar.h>.
+
        unistr/u{8,16,32}-strtok tests: Fix -Wanalyzer-allocation-size warnings.
        * tests/unistr/test-u-strtok.h (test_u_strtok): Correct values of
        input_len and delim_len.
index 1c9181d838065456bc5463c4e0c587ce7b75de8b..e5c2c5f9188c3431aa51fb4a368c6c4bdad2a7fb 100644 (file)
@@ -21,6 +21,7 @@
 #include "string-buffer.h"
 
 #include <string.h>
+#include <wchar.h>
 
 #include "macros.h"