2000-08-22 13:53:06 +02:00
|
|
|
$NetBSD: patch-ab,v 1.2 2000/08/22 11:53:08 dmcmahill Exp $
|
2000-07-20 21:46:46 +02:00
|
|
|
|
2000-08-22 13:53:06 +02:00
|
|
|
--- os.h.orig Wed Jul 1 04:29:10 1998
|
|
|
|
+++ os.h Tue Aug 22 07:47:45 2000
|
|
|
|
@@ -22,3 +22,13 @@
|
2000-07-20 21:46:46 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
+#if defined(__NetBSD__)
|
2000-08-22 13:53:06 +02:00
|
|
|
+#include <sys/types.h>
|
2000-07-20 21:46:46 +02:00
|
|
|
+#include <machine/endian.h>
|
|
|
|
+#if BYTE_ORDER == BIG_ENDIAN
|
|
|
|
+#define HI_LO_BYTE_ORDER
|
|
|
|
+#else
|
|
|
|
+#define LO_HI_BYTE_ORDER
|
|
|
|
+#endif
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
#endif /* __os_h */
|