add basic integral types (a la sparc port) that new nvi wants.

This commit is contained in:
cgd 1994-03-14 02:11:32 +00:00
parent 3df116ff20
commit f5a57afb87
1 changed files with 13 additions and 0 deletions

View File

@ -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_ */