]> git.saurik.com Git - redis.git/commitdiff
feature macros defined to play well with C99
authorantirez <antirez@gmail.com>
Fri, 27 Mar 2009 21:00:27 +0000 (22:00 +0100)
committerantirez <antirez@gmail.com>
Fri, 27 Mar 2009 21:00:27 +0000 (22:00 +0100)
anet.c
dict.c
redis-cli.c
redis.c

diff --git a/anet.c b/anet.c
index d58e85b6d404c58fe7b999fa49e2b0bb55894b31..893f42c81ded22ae93cb73004b4d4435ec825220 100644 (file)
--- a/anet.c
+++ b/anet.c
@@ -28,6 +28,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include "fmacros.h"
+
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
diff --git a/dict.c b/dict.c
index 2d186c1d021ac87c2d738b509f78f5ab79f11b37..4e740e7d2013ef9deb644e46e53af0a966c23f1b 100644 (file)
--- a/dict.c
+++ b/dict.c
@@ -33,6 +33,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include "fmacros.h"
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 6ced5abc55b29c414e42d696cfca294b29befa89..c937ae84c6a9b29e8b2ac64ced3d483d5c794b00 100644 (file)
@@ -28,6 +28,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include "fmacros.h"
+
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
diff --git a/redis.c b/redis.c
index 87521e1607885526531fae29948873a16c8e7e8f..003193f4d3e66a4292eee86d69026cee238009ee 100644 (file)
--- a/redis.c
+++ b/redis.c
@@ -27,7 +27,9 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#define REDIS_VERSION "0.08"
+#define REDIS_VERSION "0.09"
+
+#include "fmacros.h"
 
 #include <stdio.h>
 #include <stdlib.h>