From: Ilia Alshanetsky Date: Mon, 11 Nov 2002 16:32:36 +0000 (+0000) Subject: Fix missing header warnings (alloca.h) on Sun Os & Tru64. X-Git-Tag: php-4.3.0RC1~110 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b03d1d603289f277a25f2b99906a10383f99b6ef;p=php Fix missing header warnings (alloca.h) on Sun Os & Tru64. --- diff --git a/TSRM/tsrm_config_common.h b/TSRM/tsrm_config_common.h index 7ba86e70ad..8dbb93fe89 100644 --- a/TSRM/tsrm_config_common.h +++ b/TSRM/tsrm_config_common.h @@ -14,11 +14,13 @@ # include #endif +#if HAVE_ALLOCA_H && !defined(_ALLOCA_H) +# include +#endif + /* AIX requires this to be the first thing in the file. */ #ifndef __GNUC__ -# if HAVE_ALLOCA_H -# include -# else +# ifndef HAVE_ALLOCA_H # ifdef _AIX #pragma alloca # else