summaryrefslogtreecommitdiff
path: root/apps/tagdb/malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tagdb/malloc.c')
-rw-r--r--apps/tagdb/malloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/tagdb/malloc.c b/apps/tagdb/malloc.c
index 78d24f9..dbc2c5b 100644
--- a/apps/tagdb/malloc.c
+++ b/apps/tagdb/malloc.c
@@ -1,3 +1,4 @@
+#ifdef HAVE_TAGCACHE
#include "config.h"
#include "malloc.h"
@@ -129,3 +130,4 @@ void malloc_stats() {
printf(" Maximum amount of allocated memory: %dbytes\n", max_total);
printf(" Current amount of allocated memory: %dbytes\n", total);
}
+#endif