diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1997-04-24 02:14:01 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1997-04-24 02:14:01 +0000 |
commit | 47cdcb2bd306f383d8752fb3ef09cd1146d4b76b (patch) | |
tree | 20d39d37836958bd71370c4beef8cc510d3a7bc2 | |
parent | Define "uint" if __FreeBSD__ >= 3. (diff) |
#include <sys/types.h> for "uint" and stuff.
Notes
Notes:
svn path=/head/; revision=6278
-rw-r--r-- | archivers/unarj/files/patch-aa | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/archivers/unarj/files/patch-aa b/archivers/unarj/files/patch-aa index ad08f8f8f0ba..b8a593721911 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 */ |