2006-01-03 10:45:57 +01:00
|
|
|
$NetBSD: patch-aa,v 1.3 2006/01/03 09:45:57 joerg Exp $
|
2001-05-17 03:18:08 +02:00
|
|
|
|
2006-01-03 10:45:57 +01:00
|
|
|
--- myendian.h.orig 2001-07-25 14:09:37.000000000 +0000
|
2004-09-10 21:32:44 +02:00
|
|
|
+++ myendian.h
|
|
|
|
@@ -32,6 +32,10 @@
|
2001-05-17 03:18:08 +02:00
|
|
|
|
|
|
|
#include <machine/endian.h>
|
2004-09-10 21:32:44 +02:00
|
|
|
|
2006-01-03 10:45:57 +01:00
|
|
|
+#elif defined(__NetBSD__) || defined(__DragonFly__)
|
2004-09-10 21:32:44 +02:00
|
|
|
+
|
2001-05-17 03:18:08 +02:00
|
|
|
+#include <sys/endian.h>
|
2004-09-10 21:32:44 +02:00
|
|
|
+
|
|
|
|
#elif sun
|
|
|
|
|
|
|
|
#define LITTLE_ENDIAN 1234
|