14 lines
376 B
Text
14 lines
376 B
Text
$NetBSD: patch-ae,v 1.1 2006/03/14 02:38:16 joerg Exp $
|
|
|
|
--- dn_endian.h.orig 2006-03-14 02:30:07.000000000 +0000
|
|
+++ dn_endian.h
|
|
@@ -17,6 +17,9 @@
|
|
#if defined(__NetBSD__) || defined(__FreeBSD__)
|
|
#include <machine/endian.h>
|
|
#define __BYTE_ORDER BYTE_ORDER
|
|
+#elif defined(__DragonFly__)
|
|
+#define __BYTE_ORDER _BYTE_ORDER
|
|
+#include <sys/endian.h>
|
|
#endif
|
|
|
|
#ifdef __APPLE__
|