1#ifndef _PORT_ 2#define _PORT_ 1 3#ifdef __cplusplus 4extern "C" { 5#endif 6#include <sys/types.h> 7typedef unsigned char u_char; 8typedef unsigned short u_short; 9typedef unsigned int u_int; 10typedef unsigned long u_long; 11 12#define HOST_FILLORDER FILLORDER_LSB2MSB 13#define HOST_BIGENDIAN 0 14#include <stdio.h> 15#include <unistd.h> 16#include <string.h> 17#include <stdlib.h> 18#include <fcntl.h> 19typedef double dblparam_t; 20#ifdef __STRICT_ANSI__ 21#define INLINE __inline__ 22#else 23#define INLINE inline 24#endif 25#define GLOBALDATA(TYPE,NAME) extern TYPE NAME 26#ifdef __cplusplus 27} 28#endif 29#endif 30