From e8653eeb289f591f218b0e025f71fecd1ee6e61e Mon Sep 17 00:00:00 2001 From: c9s Date: Wed, 21 May 2014 22:08:25 +0800 Subject: [PATCH] include jemalloc.h --- src/zmalloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/zmalloc.c b/src/zmalloc.c index 72447d8..fad1c2b 100644 --- a/src/zmalloc.c +++ b/src/zmalloc.c @@ -61,6 +61,7 @@ void zlibc_free(void *ptr) { #define realloc(ptr,size) tc_realloc(ptr,size) #define free(ptr) tc_free(ptr) #elif defined(USE_JEMALLOC) +#include #define malloc(size) je_malloc(size) #define calloc(count,size) je_calloc(count,size) #define realloc(ptr,size) je_realloc(ptr,size)