X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/3863d8ea81373689ff9e53b1243d254e360c568a..0e1684bcd0c6b3378fb3f957407b08fac3f24bb1:/sha1.c diff --git a/sha1.c b/sha1.c index 79bdcd5a..2c50433e 100644 --- a/sha1.c +++ b/sha1.c @@ -24,6 +24,9 @@ A million repetitions of "a" #include #include #include /* 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 */