From 233805ac2e01e5e4488febe74c32f646e3a1711d Mon Sep 17 00:00:00 2001 From: Jan-Piet Mens Date: Sat, 22 Aug 2015 13:58:36 +0200 Subject: [PATCH] protect hiredis include --- ghash.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ghash.h b/ghash.h index 0a93514..5cd766c 100644 --- a/ghash.h +++ b/ghash.h @@ -1,6 +1,8 @@ #include "config.h" #include "udata.h" -#include +#ifdef HAVE_REDIS +# include +#endif #include "geohash.h" #include "utstring.h" #include "json.h"