/* $Id$ */
#ifndef _TYPES_H_
#define _TYPES_H_
#ifndef NULL
#define NULL 0
#endif
#ifndef _BSD_TYPES_
typedef unsigned char u_int8_t;
typedef unsigned short u_int16_t;
typedef unsigned int u_int32_t;
typedef unsigned long long int u_int64_t;
#define _BSD_TYPES_
#endif /* _BSD_TYPES_ */
#ifndef _POSIX_TYPES_
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
typedef unsigned long u_long;
typedef unsigned short ushort; /* Sys V */
typedef unsigned int uint; /* Sys V */
#define _POSIX_TYPES_
#endif /* POSIX_TYPES_ */
#ifndef _ANSI_ISO_TYPES_
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
typedef unsigned long long int uint64_t;
#define _ANSI_ISO_TYPES_
#endif /* ANSI_ISO_TYPES_ */
typedef signed char s8;
typedef signed short s16;
typedef signed long s32;
typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned long u32;
#ifndef _UBU_SPECIAL_TYPES_
typedef unsigned char byte;
typedef unsigned short word;
typedef unsigned long dWord;
typedef unsigned char uChar;
typedef unsigned long uLong;
typedef unsigned short uShort;
#define _UBU_SPECIAL_TYPES_
#endif /* Ubu's special types */
typedef unsigned int uInt;
#ifndef __PID_T
#define __PID_T
typedef int pid_t;
#endif
#ifndef _STDLIB_H
#ifndef FALSE
typedef enum { FALSE = 0, TRUE = 1 } bool;
#endif
#endif
#endif /* _TYPES_H_ */