aboutsummaryrefslogtreecommitdiff
path: root/test/arena.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/arena.c')
-rw-r--r--test/arena.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/arena.c b/test/arena.c
index 5efd162..e09aceb 100644
--- a/test/arena.c
+++ b/test/arena.c
@@ -6,10 +6,9 @@
#include <unistd.h>
#include "alloc.h"
+#include "common.h"
#include "test-internal.h"
-#define lengthof(xs) (sizeof(xs) / sizeof(*(xs)))
-
static void make_and_free(void),
make_and_resize(void),
free_empty_arena(void),