c32rtomb: Fix an autoconf test.
authorBruno Haible <bruno@clisp.org>
Tue, 4 Apr 2023 10:18:59 +0000 (12:18 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 8 Apr 2023 10:59:46 +0000 (12:59 +0200)
* m4/c32rtomb.m4 (gl_FUNC_C32RTOMB): In a test program, include
<stddef.h>, for NULL.

ChangeLog
m4/c32rtomb.m4

index 11302a5266ff825b1463c0753304b378bc7f82be..57357aa917726f64956b2a18f5a2a39c7f1e96e2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-04-04  Bruno Haible  <bruno@clisp.org>
+
+       c32rtomb: Fix an autoconf test.
+       * m4/c32rtomb.m4 (gl_FUNC_C32RTOMB): In a test program, include
+       <stddef.h>, for NULL.
+
 2023-04-03  Bruno Haible  <bruno@clisp.org>
 
        tests: Set executable bit on more tests.
index dc25a7cad91893697e09cc84b82011a857d76e00..b92a9a455d006307056bf882bb244d2adf9dc00f 100644 (file)
@@ -1,5 +1,5 @@
-# c32rtomb.m4 serial 3
-dnl Copyright (C) 2020-2022 Free Software Foundation, Inc.
+# c32rtomb.m4 serial 3.1
+dnl Copyright (C) 2020-2023 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -47,6 +47,7 @@ changequote(,)dnl
 changequote([,])dnl
         AC_RUN_IFELSE(
           [AC_LANG_SOURCE([[
+#include <stddef.h>
 #include <uchar.h>
 int main ()
 {