[asterisk-commits] mvanbaak: trunk r147899 - /trunk/include/asterisk/endian.h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Oct 9 12:48:54 CDT 2008


Author: mvanbaak
Date: Thu Oct  9 12:48:53 2008
New Revision: 147899

URL: http://svn.digium.com/view/asterisk?view=rev&rev=147899
Log:
only include this for OpenBSD. At least FreeBSD is borked when including it

(closes issue #13649)
Reported by: ys

Modified:
    trunk/include/asterisk/endian.h

Modified: trunk/include/asterisk/endian.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/endian.h?view=diff&rev=147899&r1=147898&r2=147899
==============================================================================
--- trunk/include/asterisk/endian.h (original)
+++ trunk/include/asterisk/endian.h Thu Oct  9 12:48:53 2008
@@ -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




More information about the asterisk-commits mailing list