aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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