Browse files

add support for NetBSD.

  • Loading branch information...
1 parent 10c6dc5 commit 2e41fbba7ffb64cad7958d421bcf3cd2991b8b8f @iquiw iquiw committed Nov 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cbits/bitfn.h
View
2 cbits/bitfn.h
@@ -161,7 +161,7 @@ static inline void array_copy64(uint64_t *d, uint64_t *s, uint32_t nb)
#ifdef __MINGW32__
# define LITTLE_ENDIAN 1234
# define BYTE_ORDER LITTLE_ENDIAN
-#elif defined(__FreeBSD__) || defined(__DragonFly__)
+#elif defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__)
# include <sys/endian.h>
#elif defined(__OpenBSD__) || defined(__SVR4)
# include <sys/types.h>

0 comments on commit 2e41fbb

Please sign in to comment.