]> Savannah Git Hosting - gnulib.git/commitdiff
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>
Tue, 4 Apr 2023 10:19:26 +0000 (12:19 +0200)
* m4/c32rtomb.m4 (gl_FUNC_C32RTOMB): In a test program, include
<stddef.h>, for NULL.

ChangeLog
m4/c32rtomb.m4

index 2806dc47a14aa121e4e4d362a7ca2d7606d8ce9c..87fac6232cd3b4ce8e79097a64e9b7083ce4890b 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 41c07e75c992696c53bcdabb21e26e3941a8cff8..539e4f884c6a98912d58a7ccda1bce0d0ea87c76 100644 (file)
@@ -1,4 +1,4 @@
-# c32rtomb.m4 serial 4
+# c32rtomb.m4 serial 5
 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,
@@ -53,6 +53,7 @@ changequote(,)dnl
 changequote([,])dnl
         AC_RUN_IFELSE(
           [AC_LANG_SOURCE([[
+#include <stddef.h>
 #include <uchar.h>
 int main ()
 {