Without this, we get "error: 'CHAR_BIT' undeclared". * tests/test-array_map.c: Include <limits.h>. * tests/test-hash_map.c: Likewise. * tests/test-linkedhash_map.c: Likewise. --- tests/test-array_map.c | 1 + tests/test-hash_map.c | 1 + tests/test-linkedhash_map.c | 1 + 3 files changed, 3 insertions(+)
diff --git a/tests/test-array_map.c b/tests/test-array_map.c index b26592969..cd5aceeac 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 9fb79fc79..a5007c008 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 f9fc84b76..2bebfd4ff 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> -- 2.17.1