提交 4ab162a5 编写于 作者: A antirez

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

Otherwise fmacros.h is included later and this may break compilation on
different systems.
上级 5afcca34
...@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册