From 957aeb83e391aee5812c8f6f123767dd3b7927c6 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Fri, 7 Feb 2003 19:26:49 +0000 Subject: [PATCH] Added a check to ensure that string.h is avaliable before trying to use it. Thanks Andi. --- Zend/zend_builtin_functions.c | 5 +++++ 1 file changed, 5 insertions(+) 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); -- 2.50.1