#ifndef __UNIX$LIB__
#include <unixlib.h>
#endif

#ifndef _TYPES_
#define	_TYPES_
#endif

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 III compat */

typedef	struct	_quad { long val[2]; } quad;
typedef	long	daddr_t;
typedef	char *	caddr_t;
typedef	u_long	ino_t;
typedef	long	swblk_t;
/*typedef	long	size_t; *FH*/
/*typedef	long	time_t; conflicts with system's time.h *JFG*/
typedef	short	dev_t;
typedef	long	off_t;
typedef	u_short	uid_t;
typedef	u_short	gid_t;

typedef	struct fd_set { int fds_bits[1]; } fd_set;
