$NetBSD: patch-ca,v 1.5 2023/07/12 19:47:08 nia Exp $ Use correct sized types. --- tvtypes.h.orig 1998-01-15 17:49:20.000000000 +0000 +++ tvtypes.h @@ -33,13 +33,14 @@ #include #include #include +#include -typedef unsigned char TV_UINT8; -typedef signed char TV_INT8; -typedef unsigned short TV_UINT16; -typedef short TV_INT16; -typedef unsigned long TV_UINT32; -typedef long TV_INT32; +typedef uint8_t TV_UINT8; +typedef int8_t TV_INT8; +typedef uint16_t TV_UINT16; +typedef int16_t TV_INT16; +typedef uint32_t TV_UINT32; +typedef int32_t TV_INT32; typedef TV_INT32 TV_BOOL;