From: Joshua Colp Date: Sun, 18 Nov 2007 17:03:38 +0000 (+0000) Subject: Revert last commit, apparently buildbot lied to me. X-Git-Tag: 1.6.0-beta1~3^2~786 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa1f321ffcd51d7dfaf177c486d3737af399eecc;p=thirdparty%2Fasterisk.git Revert last commit, apparently buildbot lied to me. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89397 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- 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 */