summaryrefslogtreecommitdiff
path: root/malloc/arena.c
diff options
context:
space:
mode:
authorPino Toscano <toscano.pino@tiscali.it>2013-01-17 21:08:12 +0100
committerPino Toscano <toscano.pino@tiscali.it>2013-01-17 21:08:12 +0100
commit2a26ef3a012cc29623423ca52c1cc8001d847d54 (patch)
tree5453e1b7f8268bec96e7f640b8194a0f827ca926 /malloc/arena.c
parentd542f8ed21474035990eddbf9dfdf11660692335 (diff)
Add HAVE_MREMAP for mremap usage
Introduce (only on Linux) and use a HAVE_MREMAP symbol to advertize mremap availability. Move the malloc-sysdep.h include from arena.c to malloc.c, since what is provided by malloc-sysdep.h is needed earlier in malloc.c, before the inclusion of arena.c.
Diffstat (limited to 'malloc/arena.c')
-rw-r--r--malloc/arena.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/malloc/arena.c b/malloc/arena.c
index 0c7780282b..7d51a9dd14 100644
--- a/malloc/arena.c
+++ b/malloc/arena.c
@@ -19,9 +19,6 @@
#include <stdbool.h>
-/* Get the implementation for check_may_shrink_heap. */
-#include <malloc-sysdep.h>
-
/* Compile-time constants. */
#define HEAP_MIN_SIZE (32*1024)