diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2002-11-11 16:32:36 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2002-11-11 16:32:36 +0000 |
commit | b03d1d603289f277a25f2b99906a10383f99b6ef (patch) | |
tree | 4adc4ef476a390aa64b6ddcf2df2e3735de178e3 /TSRM | |
parent | 4a5cb37ac487ac6e1ea24f9d4a8641668e971739 (diff) | |
download | php-git-b03d1d603289f277a25f2b99906a10383f99b6ef.tar.gz |
Fix missing header warnings (alloca.h) on Sun Os & Tru64.
Diffstat (limited to 'TSRM')
-rw-r--r-- | TSRM/tsrm_config_common.h | 8 |
1 files 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 <sys/param.h> #endif +#if HAVE_ALLOCA_H && !defined(_ALLOCA_H) +# include <alloca.h> +#endif + /* AIX requires this to be the first thing in the file. */ #ifndef __GNUC__ -# if HAVE_ALLOCA_H -# include <alloca.h> -# else +# ifndef HAVE_ALLOCA_H # ifdef _AIX #pragma alloca # else |