A past commit removed the inclusion of redis.h from rdb.c, completely breaking 32 bit builds under Linux.

This commit is contained in:
antirez 2011-10-23 10:42:16 +02:00
parent 9ed32ba083
commit 9e6a9f30ea

View File

@ -1,3 +1,6 @@
#include "redis.h"
#include "lzf.h" /* LZF compression library */
#include <math.h>
#include <sys/types.h>
#include <sys/time.h>
@ -5,8 +8,6 @@
#include <sys/wait.h>
#include <arpa/inet.h>
#include <sys/stat.h>
#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)