summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2022-09-18 15:33:09 +0200
committerBruno Haible <bruno@clisp.org>2022-09-18 15:33:09 +0200
commit3887fa4e634af7deacd846f11d8972497165b19e (patch)
tree6e85d7ed833bbdee281483598c7ec47442660d9f
parent55c954bda869d2a30a4347270e8d7872cd024138 (diff)
downloadgnulib-3887fa4e634af7deacd846f11d8972497165b19e.tar.gz
uni{case,ctype,gbrk,str}/base: Fix installed .h file (regr. 2022-09-10).
* lib/unicase.in.h: Do include <stdbool.h>. * lib/unictype.in.h: Likewise. * lib/unigbrk.in.h: Likewise. * lib/unistr.in.h: Likewise.
-rw-r--r--ChangeLog8
-rw-r--r--lib/unicase.in.h3
-rw-r--r--lib/unictype.in.h3
-rw-r--r--lib/unigbrk.in.h3
-rw-r--r--lib/unistr.in.h3
5 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 88bd009004..9b20b98d4a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2022-09-18 Bruno Haible <bruno@clisp.org>
+ uni{case,ctype,gbrk,str}/base: Fix installed .h file (regr. 2022-09-10).
+ * lib/unicase.in.h: Do include <stdbool.h>.
+ * lib/unictype.in.h: Likewise.
+ * lib/unigbrk.in.h: Likewise.
+ * lib/unistr.in.h: Likewise.
+
+2022-09-18 Bruno Haible <bruno@clisp.org>
+
signal: Fix a C++ compilation error due to sched_yield on OpenBSD 6.0.
* lib/signal.in.h: On OpenBSD, include <sys/param.h>. Don't include
<pthread.h> on OpenBSD ≥ 5.1.
diff --git a/lib/unicase.in.h b/lib/unicase.in.h
index 5317cd3dd8..9bcc79edd8 100644
--- a/lib/unicase.in.h
+++ b/lib/unicase.in.h
@@ -27,6 +27,9 @@
#include "unitypes.h"
+/* Get bool. */
+#include <stdbool.h>
+
/* Get size_t. */
#include <stddef.h>
diff --git a/lib/unictype.in.h b/lib/unictype.in.h
index de6a191d87..2f0efefca8 100644
--- a/lib/unictype.in.h
+++ b/lib/unictype.in.h
@@ -19,6 +19,9 @@
#include "unitypes.h"
+/* Get bool. */
+#include <stdbool.h>
+
/* Get size_t. */
#include <stddef.h>
diff --git a/lib/unigbrk.in.h b/lib/unigbrk.in.h
index 7fbc2a0d57..f1b60e17b9 100644
--- a/lib/unigbrk.in.h
+++ b/lib/unigbrk.in.h
@@ -26,6 +26,9 @@
#ifndef _UNIGBRK_H
#define _UNIGBRK_H
+/* Get bool. */
+#include <stdbool.h>
+
/* Get size_t. */
#include <stddef.h>
diff --git a/lib/unistr.in.h b/lib/unistr.in.h
index 40c7929575..4d48751558 100644
--- a/lib/unistr.in.h
+++ b/lib/unistr.in.h
@@ -19,6 +19,9 @@
#include "unitypes.h"
+/* Get bool. */
+#include <stdbool.h>
+
/* Get size_t, ptrdiff_t. */
#include <stddef.h>