]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Include "mcheck.h" when using mtrace().
authorAlexander Barton <alex@barton.de>
Mon, 18 Aug 2008 21:27:56 +0000 (23:27 +0200)
committerAlexander Barton <alex@barton.de>
Mon, 18 Aug 2008 21:27:56 +0000 (23:27 +0200)
src/ngircd/ngircd.c

index 952a10a435beb4cd0c581be5a2d6ca1103568347..97e5733b512069cf943fb2efea36e7ded2202239 100644 (file)
 #include <pwd.h>
 #include <grp.h>
 
+#if defined(DEBUG) && defined(HAVE_MTRACE)
+#include <mcheck.h>
+#endif
+
 #include "defines.h"
 #include "resolve.h"
 #include "conn.h"