diff options
author | Nicolas Favre-Felix <n.favrefelix@gmail.com> | 2010-10-12 16:23:02 +0400 |
---|---|---|
committer | Nicolas Favre-Felix <n.favrefelix@gmail.com> | 2010-10-12 16:23:02 +0400 |
commit | cab7f8e3c8eb32a95a8df9ee9b32b251a29aa423 (patch) | |
tree | 548132967a009ce599fa17932e8555dc8a96774b | |
parent | fe8046a81e48d9141584f3d4f81d887d917bbbb1 (diff) |
Fixes for static compilation.
-rw-r--r-- | common.h | 5 | ||||
-rwxr-xr-x | php_redis.h | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,6 +1,9 @@ #include "php.h" #include "php_ini.h" +#ifndef REDIS_COMMON_H +#define REDIS_COMMON_H + #define redis_sock_name "Redis Socket Buffer" #define REDIS_SOCK_STATUS_FAILED 0 #define REDIS_SOCK_STATUS_DISCONNECTED 1 @@ -145,3 +148,5 @@ typedef struct { void free_reply_callbacks(zval *z_this, RedisSock *redis_sock); + +#endif diff --git a/php_redis.h b/php_redis.h index e1cd4f70..ef68756e 100755 --- a/php_redis.h +++ b/php_redis.h @@ -18,6 +18,8 @@ +----------------------------------------------------------------------+ */ +#include "common.h" + #ifndef PHP_REDIS_H #define PHP_REDIS_H |