]> git.saurik.com Git - redis.git/blobdiff - sha1.c
first step of VM rewrite. blocking VM tests passing, more work needed in the async...
[redis.git] / sha1.c
diff --git a/sha1.c b/sha1.c
index 79bdcd5a7dcc3443900c81e6b9f5a083d94b99cc..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
@@ -49,7 +52,7 @@ A million repetitions of "a"
     defined(apollo) || defined(__convex__) || defined(_CRAY) || \
     defined(__hppa) || defined(__hp9000) || \
     defined(__hp9000s300) || defined(__hp9000s700) || \
-    defined (BIT_ZERO_ON_LEFT) || defined(m68k)
+    defined (BIT_ZERO_ON_LEFT) || defined(m68k) || defined(__sparc)
 #define BYTE_ORDER     BIG_ENDIAN
 #endif
 #endif /* linux */