5e0fa5453f
Fix endian setting on DragonFly (Same as FreeBSD) to fix build.
14 lines
672 B
C
14 lines
672 B
C
$NetBSD: patch-brg_endian.h,v 1.1 2012/08/07 23:31:03 marino Exp $
|
|
|
|
--- brg_endian.h.orig 2010-09-21 16:22:09.000000000 +0000
|
|
+++ brg_endian.h
|
|
@@ -34,7 +34,8 @@
|
|
/* Include files where endian defines and byteswap functions may reside */
|
|
#if defined( __sun )
|
|
# include <sys/isa_defs.h>
|
|
-#elif defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __NetBSD__ )
|
|
+#elif defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __NetBSD__ ) || \
|
|
+ defined( __DragonFly__ )
|
|
# include <sys/endian.h>
|
|
#elif defined( BSD ) && ( BSD >= 199103 ) || defined( __APPLE__ ) || \
|
|
defined( __CYGWIN32__ ) || defined( __DJGPP__ ) || defined( __osf__ )
|