From adf5a95e89b5d047b8c5e8c028e243bc84678246 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Mon, 29 Oct 2001 00:01:31 +0000 Subject: Add option for malloc debugging using dmalloc library (http://dmalloc.com/). Remove unnecessary stdlib includes (because we use xmalloc instead of malloc). svn path=/trunk/yasm/; revision=297 --- libyasm/errwarn.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libyasm/errwarn.c') diff --git a/libyasm/errwarn.c b/libyasm/errwarn.c index 18091ee4..05760ed7 100644 --- a/libyasm/errwarn.c +++ b/libyasm/errwarn.c @@ -45,6 +45,10 @@ #include "globals.h" #include "errwarn.h" +#ifdef DMALLOC +# include +#endif + RCSID("$IdPath$"); /* Total error count for entire assembler run. -- cgit v1.2.1