aboutsummaryrefslogtreecommitdiffstats
path: root/md5.c
diff options
context:
space:
mode:
Diffstat (limited to 'md5.c')
-rwxr-xr-xmd5.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/md5.c b/md5.c
index 17a00c6fc..d39e0fe1a 100755
--- a/md5.c
+++ b/md5.c
@@ -8,6 +8,9 @@
# include <sys/endian.h>
#elif defined( BSD ) && ( BSD >= 199103 ) || defined(__APPLE__)
# include <machine/endian.h>
+#elif defined( __sparc__ ) && defined( SOLARIS )
+# define BIG_ENDIAN 4321
+# define BYTE_ORDER BIG_ENDIAN
#else
# include <endian.h>
#endif