diff --git a/include/asterisk/astmm.h b/include/asterisk/astmm.h
index b163d7a562f08c390a4ece4bd7c58b4ed2a14aa0..7e987b099938f8ff9caedb970e37cd51cba3fd2c 100644
--- a/include/asterisk/astmm.h
+++ b/include/asterisk/astmm.h
@@ -25,11 +25,14 @@
 
 #define __AST_DEBUG_MALLOC
 
+#include "asterisk.h"
+
 /* Include these now to prevent them from being needed later */
 #include <sys/types.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
+#include <stdarg.h>
 
 /* Undefine any macros */
 #undef malloc