Permalink
Browse files

check for solaris. tested on openindiana

  • Loading branch information...
1 parent 3e3b7b6 commit 3f6bb5cb618236c0b0b6d611d582634c35bca3d6 @mixis mixis committed Sep 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 cbits/bitfn.h
View
@@ -163,7 +163,7 @@ static inline void array_copy64(uint64_t *d, uint64_t *s, uint32_t nb)
# 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>

0 comments on commit 3f6bb5c

Please sign in to comment.