--- unarj.h.orig 2002-06-05 08:28:06 UTC +++ unarj.h @@ -106,8 +106,12 @@ #endif typedef unsigned char uchar; /* 8 bits or more */ +#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__) typedef unsigned int uint; /* 16 - 32 bits or more */ typedef unsigned short ushort; /* 16 bits or more */ +#else +# include +#endif typedef unsigned long ulong; /* 32 bits or more */ #define USHRT_BIT (CHAR_BIT * sizeof(ushort))