Merge pull request #59 from evadot/master

Fix portable_endian.h for building on FreeBSD
This commit is contained in:
NiteHawk 2016-10-05 12:48:01 +02:00 committed by GitHub
commit fc30490fd4

View File

@ -41,11 +41,11 @@
# define __LITTLE_ENDIAN LITTLE_ENDIAN
# define __PDP_ENDIAN PDP_ENDIAN
#elif defined(__OpenBSD__)
#elif defined(__OpenBSD__) || defined(__FreeBSD__)
# include <sys/endian.h>
#elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
#elif defined(__NetBSD__) || defined(__DragonFly__)
# include <sys/endian.h>