              int exitcode = WEXITSTATUS(statloc);
              int bysignal = 0;
              
-diff --git src/sha1.c src/sha1.c
+diff --git a/src/sha1.c redis/src/sha1.c
 index 26a5565..e90812e 100644
---- src/sha1.c
-+++ src/sha1.c
+--- a/src/sha1.c
++++ redis/src/sha1.c
 @@ -27,6 +27,9 @@ A million repetitions of "a"
  #if defined(__sun)
  #include "solarisfixes.h"

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

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