openbsd-ports/archivers/unarj/patches/patch-aa
1999-03-04 03:49:12 +00:00

17 lines
503 B
Plaintext

--- unarj.h.orig Mon Sep 29 06:00:24 1997
+++ unarj.h Wed Mar 3 22:24:35 1999
@@ -106,9 +106,11 @@
#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))