summaryrefslogtreecommitdiff
path: root/tests/test-ssfmalloc.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2021-01-04 07:58:03 +0100
committerBruno Haible <bruno@clisp.org>2021-01-04 07:58:03 +0100
commit7a30314ca2b6d7cf9564004d5550110cf49e9c7b (patch)
treea0698459f3897bb251840631917ee617281d14ba /tests/test-ssfmalloc.c
parenta41424b904c2e14cb395b3736dbd76d727204af9 (diff)
downloadgnulib-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.c1
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"