summaryrefslogtreecommitdiff
path: root/misc/chmlib/files/patch-chm_lib.c
blob: bc32cdd9d0691842e21534217861ca35d4f58d21 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/chm_lib.c.orig	Tue Apr  8 10:33:30 2003
+++ src/chm_lib.c	Tue Apr  8 10:40:56 2003
@@ -156,6 +156,17 @@
 typedef __int64                 Int64;
 typedef unsigned __int64        UInt64;
 
+/* FreeBSD */
+#elif __FreeBSD__
+#include <inttypes.h>
+typedef unsigned char           UChar;
+typedef int16_t                 Int16;
+typedef uint16_t                UInt16;
+typedef int32_t                 Int32;
+typedef uint32_t                UInt32;
+typedef int64_t                 Int64;
+typedef uint64_t                UInt64;
+
 /* I386, 32-bit, non-Windows */
 /* Sparc        */
 /* MIPS         */