]> git.saurik.com Git - redis.git/blobdiff - sha1.c
fix signedness errors in ziplist testing code
[redis.git] / sha1.c
diff --git a/sha1.c b/sha1.c
index 7250fc6023179827b51c5ce96fd8bc55fa4032bd..2c50433e80a87bc606091292a03620895cc173b2 100644 (file)
--- a/sha1.c
+++ b/sha1.c
@@ -24,6 +24,9 @@ A million repetitions of "a"
 #include <stdio.h>
 #include <string.h>
 #include <sys/types.h> /* for u_int*_t */
+#if defined(__sun)
+#include "solarisfixes.h"
+#endif
 #include "sha1.h"
 
 #ifndef BYTE_ORDER