1    | /*
2    |   types.h
3    |   -------
4    |   $Id: types.h,v 1.4 2003/07/06 12:27:37 stewart Exp $
5    | 
6    |   Mostly glue around types that would usually be defined by the system.
7    |   This is more portable (unfortunately).
8    |  */
9    | #ifndef __TYPES_H__
10   | #define __TYPES_H__
11   | 
12   | #include <sys/types.h>
13   | 
14   | typedef int16_t s16;
15   | typedef u_int16_t u16;
16   | typedef int32_t s32;
17   | typedef u_int32_t u32;
18   | typedef int64_t s64;
19   | typedef u_int64_t u64;
20   | 
21   | typedef u64 sector_t;
22   | typedef int atomic_t;
23   | 
24   | #endif