Fix endian.h include for FreeBSD

This commit is contained in:
Dmitry Marakasov 2014-12-30 03:03:01 +03:00 committed by Craig Robbins
parent 53bc56dc3c
commit 2414580754
1 changed files with 2 additions and 0 deletions

View File

@ -47,6 +47,8 @@
#define __BIG_ENDIAN 1
#elif __MACH__
#include <machine/endian.h>
#elif defined(__FreeBSD__)
#include <sys/endian.h>
#else
#include <endian.h>
#endif