mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	Merged revisions 147899 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r147899 | mvanbaak | 2008-10-09 19:48:53 +0200 (Thu, 09 Oct 2008) | 5 lines 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/branches/1.6.1@147901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user