changeset 40174:b76c7bdde2bf

*-map tests: Fix compilation error. * tests/test-array_map.c: Include <limits.h>, for CHAR_BIT. * tests/test-hash_map.c: Likewise. * tests/test-linkedhash_map.c: Likewise.
author Colin Watson <cjwatson@debian.org>
date Sat, 02 Feb 2019 16:12:09 +0100
parents b716418da8b9
children a8866a23e6e2
files ChangeLog tests/test-array_map.c tests/test-hash_map.c tests/test-linkedhash_map.c
diffstat 4 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Feb 01 04:34:37 2019 +0100
+++ b/ChangeLog	Sat Feb 02 16:12:09 2019 +0100
@@ -1,3 +1,10 @@
+2019-02-02  Colin Watson  <cjwatson@debian.org>
+
+	*-map tests: Fix compilation error.
+	* tests/test-array_map.c: Include <limits.h>, for CHAR_BIT.
+	* tests/test-hash_map.c: Likewise.
+	* tests/test-linkedhash_map.c: Likewise.
+
 2019-01-31  Bruno Haible  <bruno@clisp.org>
 
 	c-strtod, c-strtold: Use the bug fixes for strtod, strtold.
--- a/tests/test-array_map.c	Fri Feb 01 04:34:37 2019 +0100
+++ b/tests/test-array_map.c	Sat Feb 02 16:12:09 2019 +0100
@@ -19,6 +19,7 @@
 
 #include "gl_array_map.h"
 
+#include <limits.h>
 #include <stdlib.h>
 #include <string.h>
 
--- a/tests/test-hash_map.c	Fri Feb 01 04:34:37 2019 +0100
+++ b/tests/test-hash_map.c	Sat Feb 02 16:12:09 2019 +0100
@@ -19,6 +19,7 @@
 
 #include "gl_hash_map.h"
 
+#include <limits.h>
 #include <stdlib.h>
 #include <string.h>
 
--- a/tests/test-linkedhash_map.c	Fri Feb 01 04:34:37 2019 +0100
+++ b/tests/test-linkedhash_map.c	Sat Feb 02 16:12:09 2019 +0100
@@ -19,6 +19,7 @@
 
 #include "gl_linkedhash_map.h"
 
+#include <limits.h>
 #include <stdlib.h>
 #include <string.h>