summaryrefslogtreecommitdiffstats
path: root/archivers/unarj
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1997-04-24 02:14:01 +0000
committerasami <asami@FreeBSD.org>1997-04-24 02:14:01 +0000
commit52bfbe6717cfc88a824b7a396ff34a6a122f8692 (patch)
tree5487ff17b7e66fe9a8705bb8c6c88a68ddb0ad62 /archivers/unarj
parent74efaa20c4dc56dc3bae2742dd297d75e757ed29 (diff)
downloadFreeBSD-ports-52bfbe6717cfc88a824b7a396ff34a6a122f8692.zip
FreeBSD-ports-52bfbe6717cfc88a824b7a396ff34a6a122f8692.tar.gz
#include <sys/types.h> for "uint" and stuff.
Diffstat (limited to 'archivers/unarj')
-rw-r--r--archivers/unarj/files/patch-aa4
1 files changed, 3 insertions, 1 deletions
diff --git a/archivers/unarj/files/patch-aa b/archivers/unarj/files/patch-aa
index ad08f8f..b8a5937 100644
--- a/archivers/unarj/files/patch-aa
+++ b/archivers/unarj/files/patch-aa
@@ -69,13 +69,15 @@
--- unarj.h Wed Dec 28 04:25:07 1994
***************
*** 104,111 ****
---- 104,113 ----
+--- 104,115 ----
#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 <sys/types.h>
+ #endif
typedef unsigned long ulong; /* 32 bits or more */
OpenPOWER on IntegriCloud