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

Otherwise fmacros.h is included later and this may break compilation on
different systems.
This commit is contained in:
antirez
2014-04-16 15:09:45 +02:00
parent 08516c1ab6
commit f307a51049
+2 -1
View File
@@ -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:
*