$NetBSD: patch-ac,v 1.4 2000/03/15 00:28:43 hubertf Exp $ --- include/btorder.h.orig Wed Jan 5 17:42:40 2000 +++ include/btorder.h Sat Mar 4 16:28:55 2000 @@ -25,6 +25,7 @@ #define _BTORDER_H #include /* try to load isa_defs.h on Solaris */ +#include #ifndef _MCONFIG_H #include @@ -74,7 +75,7 @@ # if defined(__ppc__) || defined(ppc) || defined(__ppc) || \ defined(__PPC) || defined(powerpc) || defined(__powerpc__) -# if defined(__BIG_ENDIAN__) +# if defined(__BIG_ENDIAN__) || BYTE_ORDER == BIG_ENDIAN # define _BIT_FIELDS_HTOL # else # define _BIT_FIELDS_LTOH