$NetBSD: patch-ag,v 1.1 2000/12/27 00:24:43 dmcmahill Exp $ --- util.c.orig Fri Oct 15 23:56:56 1999 +++ util.c Tue Dec 26 19:16:54 2000 @@ -33,4 +33,6 @@ #include "common.h" #include +#include +#include inline short leadz (BitBoard b) @@ -49,5 +51,5 @@ a.bitboard = b; -#ifdef i386 +#if (BYTE_ORDER == LITTLE_ENDIAN) if (a.v[3] != 0) return (lzArray[a.v[3]]);