From: Ilia Alshanetsky Date: Fri, 7 Feb 2003 19:26:49 +0000 (+0000) Subject: Added a check to ensure that string.h is avaliable before trying to use it. X-Git-Tag: RELEASE_0_5~1230 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=957aeb83e391aee5812c8f6f123767dd3b7927c6;p=php Added a check to ensure that string.h is avaliable before trying to use it. Thanks Andi. --- diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index 62dd767a65..ba5e37c1d5 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -25,7 +25,12 @@ #include "zend_constants.h" #include "zend_ini.h" +#if HAVE_STRING_H #include +#else +#include +#endif + #undef ZEND_TEST_EXCEPTIONS static ZEND_FUNCTION(zend_version);