]> git.saurik.com Git - redis.git/commitdiff
include solaris fixes in sha1.c
authorPieter Noordhuis <pcnoordhuis@gmail.com>
Fri, 21 May 2010 07:33:47 +0000 (09:33 +0200)
committerPieter Noordhuis <pcnoordhuis@gmail.com>
Fri, 21 May 2010 07:33:47 +0000 (09:33 +0200)
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