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-01 15:52:15 +02:00
parent 5afcca34ce
commit 4ab162a559

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:
*