diff options
author | antirez <antirez@gmail.com> | 2014-04-01 15:52:15 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-04-01 15:52:15 +0200 |
commit | 4ab162a5599b900173a3b4ced218c46971ba6507 (patch) | |
tree | 4b22060194b340889980637d5febdeb67da9e493 | |
parent | 5afcca34ce5a87c933b48ada9076025c7b76b8bf (diff) | |
download | redis-4ab162a5599b900173a3b4ced218c46971ba6507.tar.gz |
Include redis.h before other stuff in hyperloglog.c.
Otherwise fmacros.h is included later and this may break compilation on
different systems.
-rw-r--r-- | src/hyperloglog.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <stdint.h> #include <math.h> -#include "redis.h" /* The Redis HyperLogLog implementation is based on the following ideas: * |