From fa1f321ffcd51d7dfaf177c486d3737af399eecc Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Sun, 18 Nov 2007 17:03:38 +0000 Subject: [PATCH] Revert last commit, apparently buildbot lied to me. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89397 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/compat.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index 0dd3685d61..a9f032b343 100644 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -52,14 +52,9 @@ #endif #ifdef HAVE_ALLOCA_H -#include -#elif defined(__GNUC__) -#define alloca __builtin_alloca -#elif defined(_AIX) -#define alloca __alloca -#elif defined(_MSC_VER) -#include -#define alloca _alloca +#include /* not necessarily present - could be in stdlib */ +#elif defined(HAVE_ALLOCA) +#include /* see if it is here... */ #endif #include /* this is always present */