From f5a57afb87007f6d7794986bb7d6ec223921ebc1 Mon Sep 17 00:00:00 2001 From: cgd Date: Mon, 14 Mar 1994 02:11:32 +0000 Subject: [PATCH] add basic integral types (a la sparc port) that new nvi wants. --- sys/arch/pc532/include/types.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/sys/arch/pc532/include/types.h b/sys/arch/pc532/include/types.h index 483bd0d2029a..65a6ef1c1994 100644 --- a/sys/arch/pc532/include/types.h +++ b/sys/arch/pc532/include/types.h @@ -49,4 +49,17 @@ typedef struct label_t { typedef u_long vm_offset_t; typedef u_long vm_size_t; +/* + * Basic integral types. Omit the typedef if + * not possible for a machine/compiler combination. + */ +typedef signed char int8_t; +typedef unsigned char u_int8_t; +typedef short int16_t; +typedef unsigned short u_int16_t; +typedef int int32_t; +typedef unsigned int u_int32_t; +typedef long long int64_t; +typedef unsigned long long u_int64_t; + #endif /* _MACHTYPES_H_ */