+ album-3.10, getmail-4.3.14, zile-2.2.9.
[pkgsrc.git] / archivers / unarj / patches / patch-aa
1 $NetBSD: patch-aa,v 1.5 1999/02/10 14:53:34 frueauf Exp $
2
3 --- unarj.h.orig        2002-06-05 12:28:06.000000000 +0200
4 +++ unarj.h
5 @@ -106,9 +106,13 @@
6  #endif
7  
8  typedef unsigned char  uchar;   /*  8 bits or more */
9 +#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
10  typedef unsigned int   uint;    /* 16 - 32 bits or more */
11  typedef unsigned short ushort;  /* 16 bits or more */
12  typedef unsigned long  ulong;   /* 32 bits or more */
13 +#else
14 +#  include <sys/types.h>
15 +#endif
16  
17  #define USHRT_BIT   (CHAR_BIT * sizeof(ushort))
18