diff options
Diffstat (limited to 'sysutils/gcdmaster/patches/patch-ac')
-rw-r--r-- | sysutils/gcdmaster/patches/patch-ac | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/gcdmaster/patches/patch-ac b/sysutils/gcdmaster/patches/patch-ac new file mode 100644 index 00000000000..b14b4e5f06e --- /dev/null +++ b/sysutils/gcdmaster/patches/patch-ac @@ -0,0 +1,20 @@ +$NetBSD: patch-ac,v 1.1.1.1 2001/05/19 13:02:23 drochner Exp $ + +--- scsilib/include/btorder.h.orig Sun Apr 29 11:28:21 2001 ++++ scsilib/include/btorder.h Fri May 18 19:04:13 2001 +@@ -54,6 +54,15 @@ + /* + * Bitorder is already known. + */ ++ ++#elif defined(__NetBSD__) ++#include <machine/endian.h> ++#if BYTE_ORDER == LITTLE_ENDIAN ++#define _BIT_FIELDS_LTOH ++#else ++#define _BIT_FIELDS_HTOL ++#endif /* BYTE_ORDER == LITTLE_ENDIAN */ ++ + #else + /* + * Bitorder not yet known. |