From f307a5104956c7d6bcac778deb12466db041b8dc 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 caec2ff0..b4a607d5 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: * -- GitLab