diff --git a/Zend/zend_API.h b/Zend/zend_API.h index ab58f7db72d49..8341febd6ac7a 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -22,6 +22,7 @@ #ifndef ZEND_API_H #define ZEND_API_H +#include "zend_char.h" #include "zend_modules.h" #include "zend_list.h" #include "zend_operators.h" diff --git a/Zend/zend_char.h b/Zend/zend_char.h new file mode 100644 index 0000000000000..0a4af72baa1ff --- /dev/null +++ b/Zend/zend_char.h @@ -0,0 +1,22 @@ +/* + +----------------------------------------------------------------------+ + | Zend Engine | + +----------------------------------------------------------------------+ + | Copyright (c) Zend Technologies Ltd. (http://www.zend.com) | + +----------------------------------------------------------------------+ + | This source file is subject to version 2.00 of the Zend license, | + | that is bundled with this package in the file LICENSE, and is | + | available through the world-wide-web at the following url: | + | http://www.zend.com/license/2_00.txt. | + | If you did not receive a copy of the Zend license and are unable to | + | obtain it through the world-wide-web, please send a note to | + | license@zend.com so we can mail you a copy immediately. | + +----------------------------------------------------------------------+ +*/ + +#ifndef ZEND_CHAR_H +#define ZEND_CHAR_H + +typedef unsigned char zend_uchar; + +#endif /* ZEND_CHAR_H */ diff --git a/Zend/zend_string.h b/Zend/zend_string.h index 3eca7343a008b..fdfa87e3333a7 100644 --- a/Zend/zend_string.h +++ b/Zend/zend_string.h @@ -20,6 +20,7 @@ #define ZEND_STRING_H #include "zend.h" +#include "zend_char.h" BEGIN_EXTERN_C() diff --git a/Zend/zend_types.h b/Zend/zend_types.h index f1525b78a2a9a..a4f859cb45d68 100644 --- a/Zend/zend_types.h +++ b/Zend/zend_types.h @@ -53,8 +53,6 @@ # define ZEND_ENDIAN_LOHI_C_4(a, b, c, d) a, b, c, d #endif -typedef unsigned char zend_uchar; - #ifdef ZEND_ENABLE_ZVAL_LONG64 # ifdef ZEND_WIN32 # define ZEND_SIZE_MAX _UI64_MAX