diff options
Diffstat (limited to 'include/asterisk.h')
-rw-r--r-- | include/asterisk.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/asterisk.h b/include/asterisk.h index f55d5bb0d..9d5c1ae8a 100644 --- a/include/asterisk.h +++ b/include/asterisk.h @@ -18,12 +18,15 @@ #ifndef _ASTERISK_H #define _ASTERISK_H +/* The include of 'autoconfig.h' is not necessary for any modules that + are part of the Asterisk source tree, because the top-level Makefile + will forcibly include that header in all compilations before all + other headers (even system headers). However, leaving this here will + help out-of-tree module builders, and doesn't cause any harm for the + in-tree modules. +*/ #include "asterisk/autoconfig.h" -#if !defined(NO_MALLOC_DEBUG) && !defined(STANDALONE) && defined(MALLOC_DEBUG) -#include "asterisk/astmm.h" -#endif - #include "asterisk/compat.h" #include "asterisk/logger.h" |