[asterisk-commits] jpeeler: trunk r146920 - /trunk/include/asterisk/endian.h
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Oct 6 17:59:59 CDT 2008
Author: jpeeler
Date: Mon Oct 6 17:59:58 2008
New Revision: 146920
URL: http://svn.digium.com/view/asterisk?view=rev&rev=146920
Log:
Mvanbaak said this was needed to compile on OpenBSD, so put it in the OpenBSD section.
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=146920&r1=146919&r2=146920
==============================================================================
--- trunk/include/asterisk/endian.h (original)
+++ trunk/include/asterisk/endian.h Mon Oct 6 17:59:58 2008
@@ -27,12 +27,12 @@
* Autodetect system endianess
*/
-#include "asterisk/compat.h"
#ifndef __BYTE_ORDER
#ifdef __linux__
#include <endian.h>
#elif defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__)
+#include "asterisk/compat.h"
#include <machine/endian.h>
#define __BYTE_ORDER BYTE_ORDER
#define __LITTLE_ENDIAN LITTLE_ENDIAN
More information about the asterisk-commits
mailing list