aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-11 20:34:31 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-11 20:34:31 +0000
commit320304671b55a6b337ec8842b6797a0b7c36ae01 (patch)
tree0aa03193905319bb05e4be45d1d92840558609d1 /src
parent49aae72a0c4dae6783752aed6ba420b676e2c270 (diff)
downloadrspamd-320304671b55a6b337ec8842b6797a0b7c36ae01.tar.gz
rspamd-320304671b55a6b337ec8842b6797a0b7c36ae01.zip
Fix include path for embedded hiredis
Diffstat (limited to 'src')
-rw-r--r--src/libstat/backends/redis_backend.c4
-rw-r--r--src/libstat/learn_cache/redis_cache.c4
-rw-r--r--src/lua/lua_redis.c5
3 files changed, 6 insertions, 7 deletions
diff --git a/src/libstat/backends/redis_backend.c b/src/libstat/backends/redis_backend.c
index d940812ce..2c36a1758 100644
--- a/src/libstat/backends/redis_backend.c
+++ b/src/libstat/backends/redis_backend.c
@@ -28,8 +28,8 @@
#include "lua/lua_common.h"
#ifdef WITH_HIREDIS
-#include "hiredis/hiredis.h"
-#include "hiredis/adapters/libevent.h"
+#include "hiredis.h"
+#include "adapters/libevent.h"
#define REDIS_CTX(p) (struct redis_stat_ctx *)(p)
diff --git a/src/libstat/learn_cache/redis_cache.c b/src/libstat/learn_cache/redis_cache.c
index 424748039..24c1722b1 100644
--- a/src/libstat/learn_cache/redis_cache.c
+++ b/src/libstat/learn_cache/redis_cache.c
@@ -29,8 +29,8 @@
#include "stat_internal.h"
#include "cryptobox.h"
#include "ucl.h"
-#include "hiredis/hiredis.h"
-#include "hiredis/adapters/libevent.h"
+#include "hiredis.h"
+#include "adapters/libevent.h"
#define REDIS_DEFAULT_TIMEOUT 0.5
#define REDIS_STAT_TIMEOUT 30
diff --git a/src/lua/lua_redis.c b/src/lua/lua_redis.c
index 89468d519..d3a82a9e7 100644
--- a/src/lua/lua_redis.c
+++ b/src/lua/lua_redis.c
@@ -25,9 +25,8 @@
#include "dns.h"
#ifdef WITH_HIREDIS
-#include "hiredis/hiredis.h"
-#include "hiredis/async.h"
-#include "hiredis/adapters/libevent.h"
+#include "hiredis.h"
+#include "adapters/libevent.h"
#endif
#define REDIS_DEFAULT_TIMEOUT 1.0