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 952a10a..97e5733 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"