diff --git a/cbits/bitfn.h b/cbits/bitfn.h
--- a/cbits/bitfn.h
+++ b/cbits/bitfn.h
@@ -163,7 +163,7 @@
   # define BYTE_ORDER    LITTLE_ENDIAN
 #elif defined(__FreeBSD__) || defined(__DragonFly__)
   # include <sys/endian.h>
-#elif defined(__OpenBSD__)
+#elif defined(__OpenBSD__) || defined(__SVR4)
   # include <sys/types.h>
 #elif defined(__APPLE__)
   # include <machine/endian.h>
diff --git a/cryptohash.cabal b/cryptohash.cabal
--- a/cryptohash.cabal
+++ b/cryptohash.cabal
@@ -1,5 +1,5 @@
 Name:                cryptohash
-Version:             0.7.1
+Version:             0.7.2
 Description:
     A collection of crypto hashes, with a practical incremental and one-pass, pure APIs,
     with performance close to the fastest implementations available in others languages.
