$NetBSD: patch-aa,v 1.5 2005/09/12 14:49:10 minskim Exp $ --- src/chm_lib.c.orig 2005-09-09 05:42:27.000000000 -0700 +++ src/chm_lib.c @@ -182,8 +182,14 @@ typedef unsigned long UInt64; #else -/* yielding an error is preferable to yielding incorrect behavior */ -#error "Please define the sized types for your platform in chm_lib.c" +typedef unsigned char UChar; +typedef int16_t Int16; +typedef u_int16_t UInt16; +typedef int32_t Int32; +typedef u_int32_t UInt32; +typedef int64_t Int64; +typedef u_int64_t UInt64; + #endif /* GCC */