From 9f7fdc983fea00084e7839140315f0276fb18014 Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Sat, 17 Nov 2007 19:29:54 +0000 Subject: [PATCH] if alloca.h is not present, try malloc.h git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89392 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/compat.h | 2 ++ 1 file changed, 2 insertions(+) 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 */