]> Savannah Git Hosting - gnulib.git/commitdiff
*-map tests: Fix compilation error.
authorColin Watson <cjwatson@debian.org>
Sat, 2 Feb 2019 15:12:09 +0000 (16:12 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 2 Feb 2019 15:12:09 +0000 (16:12 +0100)
* tests/test-array_map.c: Include <limits.h>, for CHAR_BIT.
* tests/test-hash_map.c: Likewise.
* tests/test-linkedhash_map.c: Likewise.

ChangeLog
tests/test-array_map.c
tests/test-hash_map.c
tests/test-linkedhash_map.c

index 963dedd66463a19dd08979f37cb902e2d32ba376..439d12ac5f9bc9559d26765726c7ca07805a9a9a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index b26592969ab45d08f17181c1e01f6ee7f9273492..cd5aceeac374f5e63b87f27e1712e60907f69bbf 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "gl_array_map.h"
 
+#include <limits.h>
 #include <stdlib.h>
 #include <string.h>
 
index 9fb79fc79913405b9256b918c74f673354619229..a5007c008db14de2d9c376d6bcda5c6f1c4d612a 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "gl_hash_map.h"
 
+#include <limits.h>
 #include <stdlib.h>
 #include <string.h>
 
index f9fc84b76eef0c1aecb4fd22fa20fb8ab73da374..2bebfd4ff6f56b52e19914b5233f6b87701022c0 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "gl_linkedhash_map.h"
 
+#include <limits.h>
 #include <stdlib.h>
 #include <string.h>