diff options
Diffstat (limited to 'Zend/zend.h')
-rw-r--r-- | Zend/zend.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Zend/zend.h b/Zend/zend.h index 4901f468ac..e36ce7db0f 100644 --- a/Zend/zend.h +++ b/Zend/zend.h @@ -129,11 +129,13 @@ const char *zend_mh_bundle_error(void); # define ZEND_EXTENSIONS_SUPPORT 0 #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 |