diff options
author | Bruno Haible <bruno@clisp.org> | 2021-01-04 07:58:03 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2021-01-04 07:58:03 +0100 |
commit | 7a30314ca2b6d7cf9564004d5550110cf49e9c7b (patch) | |
tree | a0698459f3897bb251840631917ee617281d14ba /tests/test-ssfmalloc.c | |
parent | a41424b904c2e14cb395b3736dbd76d727204af9 (diff) | |
download | gnulib-7a30314ca2b6d7cf9564004d5550110cf49e9c7b.tar.gz |
ssfmalloc: Fix includes.
* lib/ssfmalloc.h: Include <strings.h>, for ffs().
* tests/test-ssfmalloc.c: Include <string.h>, for memset().
Diffstat (limited to 'tests/test-ssfmalloc.c')
-rw-r--r-- | tests/test-ssfmalloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-ssfmalloc.c b/tests/test-ssfmalloc.c index 640071de5e..6571cedd96 100644 --- a/tests/test-ssfmalloc.c +++ b/tests/test-ssfmalloc.c @@ -142,6 +142,7 @@ free_pages (uintptr_t pages, size_t size) /* ================================= Tests ================================= */ #include <limits.h> +#include <string.h> #include "macros.h" |