only include this for OpenBSD. At least FreeBSD is borked when including it
(closes issue #13649) Reported by: ys git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147899 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
90e9c2d78c
commit
3ed062f810
|
@ -32,7 +32,9 @@
|
|||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#elif defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__)
|
||||
#if defined(__OpenBSD__)
|
||||
#include "asterisk/compat.h"
|
||||
#endif
|
||||
#include <machine/endian.h>
|
||||
#define __BYTE_ORDER BYTE_ORDER
|
||||
#define __LITTLE_ENDIAN LITTLE_ENDIAN
|
||||
|
|
Loading…
Reference in New Issue