$NetBSD: patch-aa,v 1.6 2005/10/28 16:00:50 wiz Exp $ --- src/chm_lib.c.orig 2005-10-26 14:17:50.000000000 +0200 +++ 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 */