Fix endian for FreeBSD (bug #2679)

git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@149 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Mark Spencer 2004-10-27 20:17:17 +00:00
parent 542a5ffe0c
commit 6bfef709dc

View File

@ -30,6 +30,9 @@
#include <endian.h> #include <endian.h>
#elif defined(__FreeBSD__) #elif defined(__FreeBSD__)
#include <sys/endian.h> #include <sys/endian.h>
#define __BYTE_ORDER _BYTE_ORDER
#define __BIG_ENDIAN _BIG_ENDIAN
#define __LITTLE_ENDIAN _LITTLE_ENDIAN
#endif #endif
/* Timer values */ /* Timer values */