summaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/debug.h b/debug.h
index 0de0a7ea..e0c2dc6e 100644
--- a/debug.h
+++ b/debug.h
@@ -70,6 +70,7 @@ void debug_assert(const ledger::string& reason,
#include <new>
#include <iostream>
#include <cstdlib>
+#include <cassert>
#include <boost/regex.hpp>
@@ -108,6 +109,9 @@ bool _debug_active(const char * const cls);
#define VALIDATE(x)
#endif
+extern int new_calls;
+extern int new_size;
+
#if 0
void * operator new(std::size_t) throw (std::bad_alloc);
void * operator new[](std::size_t) throw (std::bad_alloc);