From 4ab162a5599b900173a3b4ced218c46971ba6507 Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 1 Apr 2014 15:52:15 +0200 Subject: [PATCH] Include redis.h before other stuff in hyperloglog.c. Otherwise fmacros.h is included later and this may break compilation on different systems. --- src/hyperloglog.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hyperloglog.c b/src/hyperloglog.c index caec2ff0e..b4a607d57 100644 --- a/src/hyperloglog.c +++ b/src/hyperloglog.c @@ -29,9 +29,10 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#include "redis.h" + #include #include -#include "redis.h" /* The Redis HyperLogLog implementation is based on the following ideas: *