diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-30 18:36:14 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-30 18:36:14 +0100 |
commit | 798d515290f2fcb326eab08399d1e677eb742a55 (patch) | |
tree | d000f18ea0a3db17a9e687e1a0e51d86863b4a3c /src | |
parent | 75c5450fe3c7156b9df7bc88d6d0377eef909c21 (diff) | |
download | rspamd-798d515290f2fcb326eab08399d1e677eb742a55.tar.gz rspamd-798d515290f2fcb326eab08399d1e677eb742a55.zip |
[Fix] Do not be cheated by system hiredis
Diffstat (limited to 'src')
-rw-r--r-- | src/libserver/redis_pool.c | 7 | ||||
-rw-r--r-- | src/lua/lua_redis.c | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/libserver/redis_pool.c b/src/libserver/redis_pool.c index 8ef0f9ad5..aeb8dbeae 100644 --- a/src/libserver/redis_pool.c +++ b/src/libserver/redis_pool.c @@ -18,11 +18,12 @@ #include <event.h> #include "redis_pool.h" #include "cfg_file.h" -#include "hiredis/hiredis.h" -#include "hiredis/async.h" -#include "hiredis/adapters/libevent.h" +#include "contrib/hiredis/hiredis.h" +#include "contrib/hiredis/async.h" +#include "contrib/hiredis/adapters/libevent.h" #include "cryptobox.h" #include "ref.h" +#include "logger.h" struct rspamd_redis_pool_elt; diff --git a/src/lua/lua_redis.c b/src/lua/lua_redis.c index b7fb8f6c4..815192d27 100644 --- a/src/lua/lua_redis.c +++ b/src/lua/lua_redis.c @@ -17,8 +17,8 @@ #include "dns.h" #include "utlist.h" -#include "hiredis/hiredis.h" -#include "hiredis/async.h" +#include "contrib/hiredis/hiredis.h" +#include "contrib/hiredis/async.h" #define REDIS_DEFAULT_TIMEOUT 1.0 |