diff options
author | Colin Watson <cjwatson@debian.org> | 2019-02-02 16:12:09 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-02-02 16:12:09 +0100 |
commit | 26201178d8377ad75f864df31c71110f1cd6eedc (patch) | |
tree | a023c2d1af40ac621de650f29c8f360cc5319ed0 /tests | |
parent | b39cc72608e7ae56e959e2f12f7c8b355e63a35a (diff) | |
download | gnulib-26201178d8377ad75f864df31c71110f1cd6eedc.tar.gz |
*-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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-array_map.c | 1 | ||||
-rw-r--r-- | tests/test-hash_map.c | 1 | ||||
-rw-r--r-- | tests/test-linkedhash_map.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/test-array_map.c b/tests/test-array_map.c index b26592969a..cd5aceeac3 100644 --- a/tests/test-array_map.c +++ b/tests/test-array_map.c @@ -19,6 +19,7 @@ #include "gl_array_map.h" +#include <limits.h> #include <stdlib.h> #include <string.h> diff --git a/tests/test-hash_map.c b/tests/test-hash_map.c index 9fb79fc799..a5007c008d 100644 --- a/tests/test-hash_map.c +++ b/tests/test-hash_map.c @@ -19,6 +19,7 @@ #include "gl_hash_map.h" +#include <limits.h> #include <stdlib.h> #include <string.h> diff --git a/tests/test-linkedhash_map.c b/tests/test-linkedhash_map.c index f9fc84b76e..2bebfd4ff6 100644 --- a/tests/test-linkedhash_map.c +++ b/tests/test-linkedhash_map.c @@ -19,6 +19,7 @@ #include "gl_linkedhash_map.h" +#include <limits.h> #include <stdlib.h> #include <string.h> |