]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
fix some minor issues with rev 144924
authorKevin P. Fleming <kpfleming@digium.com>
Sat, 27 Sep 2008 15:13:30 +0000 (15:13 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Sat, 27 Sep 2008 15:13:30 +0000 (15:13 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@144925 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk.h
main/astmm.c
utils/Makefile
utils/astman.c

index e5202bb58c92835e9cc8ac9ab07de6318edf474b..20f5aa9d4f5360d78c85c1c9412e96a63d54bfe0 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "asterisk/autoconfig.h"
 
-#if !defined(STANDALONE_AEL) && defined(MALLOC_DEBUG)
+#if !defined(NO_MALLOC_DEBUG) && !defined(STANDALONE_AEL) && defined(MALLOC_DEBUG)
 #include "asterisk/astmm.h"
 #endif
 
index f5ce26f0acc109a09330998e8bc24f3ab1bb5c55..b0eb51bf58e6d8301f33ce083351295bab3da77e 100644 (file)
  * \author Mark Spencer <markster@digium.com>
  */
 
-#ifdef __AST_DEBUG_MALLOC
-
 #include "asterisk.h"
 
+#ifdef __AST_DEBUG_MALLOC
+
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include <stdio.h>
index a31172b27b48009c98126bbfff6124293de1b02b..a2d3c3dc5f49e88b665f7bead439d26d1b944978 100644 (file)
@@ -65,6 +65,7 @@ md5.c: ../main/md5.c
 
 astman: astman.o md5.o
 astman: LIBS+=$(NEWT_LIB)
+astman.o: ASTCFLAGS+=-DNO_MALLOC_DEBUG
 
 stereorize: stereorize.o frame.o
 stereorize: LIBS+=-lm
index f072dcd5779c6f77a36061b861cb5ac16ef1d35b..f259f6884debe06a51092d1eafcb748cb076f6fe 100644 (file)
@@ -22,6 +22,8 @@
  *
  */
  
+#include "asterisk.h"
+
 #include <newt.h>
 #include <stdio.h>
 #include <sys/time.h>