Commit e3773b0a authored by antirez's avatar antirez
Browse files

Include redis.h before other stuff in hyperloglog.c.

Otherwise fmacros.h is included later and this may break compilation on
different systems.
parent badf23f5
...@@ -29,9 +29,10 @@ ...@@ -29,9 +29,10 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "redis.h"
#include <stdint.h> #include <stdint.h>
#include <math.h> #include <math.h>
#include "redis.h"
/* The Redis HyperLogLog implementation is based on the following ideas: /* The Redis HyperLogLog implementation is based on the following ideas:
* *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment