$NetBSD: patch-af,v 1.2 2006/09/28 16:21:46 tron Exp $ --- usuals.h.orig 1995-09-15 13:18:52.000000000 +0100 +++ usuals.h 2006-09-28 17:16:56.000000000 +0100 @@ -3,16 +3,19 @@ #ifndef USUALS /* Assures no redefinitions of usual types...*/ #define USUALS +#ifdef __NetBSD__ +#include +#if BYTE_ORDER == BIG_ENDIAN +#define HIGHFIRST +#endif +#endif + typedef unsigned char boolean; /* values are TRUE or FALSE */ typedef unsigned char byte; /* values are 0-255 */ typedef byte *byteptr; /* pointer to byte */ typedef char *string; /* pointer to ASCII character string */ typedef unsigned short word16; /* values are 0-65535 */ -#ifdef __alpha typedef unsigned int word32; /* values are 0-4294967295 */ -#else -typedef unsigned long word32; /* values are 0-4294967295 */ -#endif #ifndef TRUE #define FALSE 0