diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2003-02-07 19:26:49 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2003-02-07 19:26:49 +0000 |
| commit | 957aeb83e391aee5812c8f6f123767dd3b7927c6 (patch) | |
| tree | e7c4f7d748862a43fea91c09b27b9875a5f0e38a /Zend/zend_builtin_functions.c | |
| parent | 738b662b727755ef91295f608c75331e26736873 (diff) | |
| download | php-git-957aeb83e391aee5812c8f6f123767dd3b7927c6.tar.gz | |
Added a check to ensure that string.h is avaliable before trying to use it.
Thanks Andi.
Diffstat (limited to 'Zend/zend_builtin_functions.c')
| -rw-r--r-- | Zend/zend_builtin_functions.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <string.h> +#else +#include <strings.h> +#endif + #undef ZEND_TEST_EXCEPTIONS static ZEND_FUNCTION(zend_version); |
