diff options
Diffstat (limited to 'redis_array.h')
-rw-r--r-- | redis_array.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/redis_array.h b/redis_array.h index 652b5aef..3b1163bf 100644 --- a/redis_array.h +++ b/redis_array.h @@ -1,7 +1,12 @@ #ifndef REDIS_ARRAY_H #define REDIS_ARRAY_H +#ifdef PHP_WIN32 +#include "win32/php_stdint.h" +#else #include <stdint.h> +#endif + #include "common.h" void redis_destructor_redis_array(zend_rsrc_list_entry * rsrc TSRMLS_DC); @@ -34,7 +39,7 @@ PHP_METHOD(RedisArray, unwatch); typedef struct RedisArray_ { - + int count; char **hosts; /* array of host:port strings */ zval **redis; /* array of Redis instances */ |