summaryrefslogtreecommitdiff
path: root/libyasm/errwarn.c
diff options
context:
space:
mode:
authorPeter Johnson <peter@tortall.net>2001-10-29 00:01:31 +0000
committerPeter Johnson <peter@tortall.net>2001-10-29 00:01:31 +0000
commitadf5a95e89b5d047b8c5e8c028e243bc84678246 (patch)
tree1c125a9d628e62552aa3bf9d1109d74f68eeeff1 /libyasm/errwarn.c
parent21c598f9f8067713257728e6c1893caa4405e90b (diff)
downloadyasm-adf5a95e89b5d047b8c5e8c028e243bc84678246.tar.gz
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
Diffstat (limited to 'libyasm/errwarn.c')
-rw-r--r--libyasm/errwarn.c4
1 files changed, 4 insertions, 0 deletions
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 <dmalloc.h>
+#endif
+
RCSID("$IdPath$");
/* Total error count for entire assembler run.