2013-09-26 17:14:40 +02:00

19 lines
546 B
Plaintext

$NetBSD: patch-aa,v 1.6 2005/01/21 14:41:16 wiz Exp $
--- unarj.h.orig 2002-06-05 12:28:06.000000000 +0200
+++ unarj.h
@@ -106,9 +106,13 @@
#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 */
typedef unsigned long ulong; /* 32 bits or more */
+#else
+# include <sys/types.h>
+#endif
#define USHRT_BIT (CHAR_BIT * sizeof(ushort))