aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1997-04-24 10:14:01 +0800
committerasami <asami@FreeBSD.org>1997-04-24 10:14:01 +0800
commit52bfbe6717cfc88a824b7a396ff34a6a122f8692 (patch)
tree5487ff17b7e66fe9a8705bb8c6c88a68ddb0ad62 /archivers
parent74efaa20c4dc56dc3bae2742dd297d75e757ed29 (diff)
downloadfreebsd-ports-graphics-52bfbe6717cfc88a824b7a396ff34a6a122f8692.tar.gz
freebsd-ports-graphics-52bfbe6717cfc88a824b7a396ff34a6a122f8692.tar.zst
freebsd-ports-graphics-52bfbe6717cfc88a824b7a396ff34a6a122f8692.zip
#include <sys/types.h> for "uint" and stuff.
Diffstat (limited to 'archivers')
-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 ad08f8f8f0b..b8a59372191 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 */