#ifndef DEFS_H
#define DEFS_H

#include <sys/types.h>
/*#include <sunmath.h>*/

/* Typedef declarations
/* ~~~~~~~~~~~~~~~~~~~~ */

typedef unsigned char 	uchar;
typedef unsigned short  uint2;
typedef unsigned int    uint4;

typedef char            schar;
typedef short		int2;
typedef int 		int4;

#ifndef _SYS_TYPES_H
typedef unsigned int  	uint;
typedef unsigned long   ulong;
#endif _SYS_TYPES_H

typedef double           Align;          /* provides alignment restriction */
typedef float		data_t;

#define NaN		quiet_nan(0)

typedef struct {
	unsigned short length;
	short reserved;
	char *s;
} IDL_STRING;
	
#define LITTLE_ENDIAN   1
#define BIG_ENDIAN      0

#endif /* DEFS_H  */
