Fix build on OpenBSD (tested on 5.4).

Breakage was introduced with commits for Issue #191.
This commit is contained in:
Bruce A. Mah 2014-09-15 15:09:50 -07:00
parent df9230810f
commit 1f29ffe70d

View File

@ -42,6 +42,15 @@
# include <sys/endian.h>
# define be16toh(x) betoh16(x)
# define le16toh(x) letoh16(x)
# define be32toh(x) betoh32(x)
# define le32toh(x) letoh32(x)
# define be64toh(x) betoh64(x)
# define le64toh(x) letoh64(x)
#elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
# include <sys/endian.h>
@ -112,4 +121,4 @@
#endif
#endif
#endif