Sorry, i sent a wrong patch. Here is a good one.
In previous patch I accidentally included mmalloc.h in mmalloc.h :)
diff -uNr berusky2-0.10.orig/src/age/utils/mem_alloc.h berusky2-0.10/src/age/utils/mem_alloc.h --- berusky2-0.10.orig/src/age/utils/mem_alloc.h 2013-03-03 23:38:40.000000000 +0000 +++ berusky2-0.10/src/age/utils/mem_alloc.h 2014-07-24 13:35:08.000000000 +0000 @@ -36,6 +36,7 @@ #include <unistd.h> #include <limits.h> #include "log.h" +#include "mmalloc.h" #define MMALLOC_DEBUG 1