diff --git a/TSRM/tsrm_config_common.h b/TSRM/tsrm_config_common.h index 7ba86e70adc..8dbb93fe89f 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