mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
19 lines
369 B
Plaintext
19 lines
369 B
Plaintext
$NetBSD: patch-ab,v 1.2 2000/08/22 11:53:08 dmcmahill Exp $
|
|
|
|
--- os.h.orig Wed Jul 1 04:29:10 1998
|
|
+++ os.h Tue Aug 22 07:47:45 2000
|
|
@@ -22,3 +22,13 @@
|
|
#endif
|
|
|
|
+#if defined(__NetBSD__)
|
|
+#include <sys/types.h>
|
|
+#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 */
|