]> git.saurik.com Git - redis.git/commitdiff
A past commit removed the inclusion of redis.h from rdb.c, completely breaking 32...
authorantirez <antirez@gmail.com>
Sun, 23 Oct 2011 08:42:16 +0000 (10:42 +0200)
committerantirez <antirez@gmail.com>
Sun, 23 Oct 2011 08:42:16 +0000 (10:42 +0200)
src/rdb.c

index 0bafd97c5638a0c1ea8ac8e6d1c66c61c4e48394..d2d54807e350792b149cafc97b8f26858224e636 100644 (file)
--- a/src/rdb.c
+++ b/src/rdb.c
@@ -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)