From b03d1d603289f277a25f2b99906a10383f99b6ef Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 11 Nov 2002 16:32:36 +0000 Subject: [PATCH] Fix missing header warnings (alloca.h) on Sun Os & Tru64. --- TSRM/tsrm_config_common.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 -- 2.50.1