ea9e2618b7
explicitly casting positions to long, since that is what the code expects.
15 lines
303 B
Text
15 lines
303 B
Text
$NetBSD: patch-aa,v 1.3 2006/01/03 09:45:57 joerg Exp $
|
|
|
|
--- myendian.h.orig 2001-07-25 14:09:37.000000000 +0000
|
|
+++ myendian.h
|
|
@@ -32,6 +32,10 @@
|
|
|
|
#include <machine/endian.h>
|
|
|
|
+#elif defined(__NetBSD__) || defined(__DragonFly__)
|
|
+
|
|
+#include <sys/endian.h>
|
|
+
|
|
#elif sun
|
|
|
|
#define LITTLE_ENDIAN 1234
|