1 --- unarj.h.orig	2002-06-05 08:28:06 UTC
2 +++ unarj.h
3 @@ -106,8 +106,12 @@
4  #endif
5 
6  typedef unsigned char  uchar;   /*  8 bits or more */
7 +#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
8  typedef unsigned int   uint;    /* 16 - 32 bits or more */
9  typedef unsigned short ushort;  /* 16 bits or more */
10 +#else
11 +#  include <sys/types.h>
12 +#endif
13  typedef unsigned long  ulong;   /* 32 bits or more */
14 
15  #define USHRT_BIT   (CHAR_BIT * sizeof(ushort))
16