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