summaryrefslogtreecommitdiff
path: root/archivers/unace/patches/patch-ab
blob: c81950e0dca115134c9a1db436f65d2c9ca399e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$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 */