  
  ifeq ($(USE_TCMALLOC),yes)
    ALLOD_DEPS=
-diff --git src/aof.c src/aof.c
+diff --git a/src/aof.c redis/src/aof.c
 index dbd0468..7a5d21f 100644
---- src/aof.c
-+++ src/aof.c
+--- a/src/aof.c
++++ redis/src/aof.c
 @@ -25,7 +25,7 @@ void stopAppendOnly(void) {
          int statloc;
  

 
 CCOPT= $(CFLAGS) $(CCLINK)
 DEBUG?= -g -ggdb
diff --git src/Makefile src/Makefile
index 292255c..e6a6d87 100644
--- src/Makefile
+++ src/Makefile
@@ -15,12 +15,18 @@ endif
 ifeq ($(uname_S),SunOS)
   CFLAGS?=-std=c99 -pedantic $(OPTIMIZATION) -Wall -W -D__EXTENSIONS__ -D_XPG6

diff --git a/deps/hiredis/Makefile redis/deps/hiredis/Makefile
index 2a84b9b..1225539 100644
--- a/deps/hiredis/Makefile
+++ redis/deps/hiredis/Makefile
@@ -26,6 +26,15 @@ ifeq ($(uname_S),Darwin)
   STLIBNAME?=libhiredis.a
   STLIB_MAKE_CMD?=libtool -static -o ${STLIBNAME} - ${OBJ}
