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

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