diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index 5d97f4915f597553ddc668c7ebfd107559731627..ced14fc41bcc806df512399493c4f874e12b93a0 100644 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -53,6 +53,8 @@ #ifdef HAVE_ALLOCA_H #include <alloca.h> /* not necessarily present - could be in stdlib */ +#elif defined(HAVE_ALLOCA) +#include <malloc.h> /* see if it is here... */ #endif #include <stdio.h> /* this is always present */