From: antirez Date: Sun, 23 Oct 2011 08:42:16 +0000 (+0200) Subject: A past commit removed the inclusion of redis.h from rdb.c, completely breaking 32... X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/9e6a9f30ea72445740a26599d50ed63a14a59f7f A past commit removed the inclusion of redis.h from rdb.c, completely breaking 32 bit builds under Linux. --- diff --git a/src/rdb.c b/src/rdb.c index 0bafd97c..d2d54807 100644 --- a/src/rdb.c +++ b/src/rdb.c @@ -1,3 +1,6 @@ +#include "redis.h" +#include "lzf.h" /* LZF compression library */ + #include #include #include @@ -5,8 +8,6 @@ #include #include #include -#include "rdb.h" -#include "lzf.h" /* LZF compression library */ static int rdbWriteRaw(rio *rdb, void *p, size_t len) { if (rdb && rioWrite(rdb,p,len) == 0)