#ifndef __SYS_TIME_H #define __SYS_TIME_H #define a_timestruct timestruct #define a_timestruct_t timestruct_t #define a_timeval timeval #define a_timeval_t timeval_t /* * Time expressed in seconds and nanoseconds */ typedef struct a_timestruct { long tv_sec; /* seconds */ unsigned long tv_nsec; /* and nanoseconds */ } a_timestruct_t; /* * Time expressed in seconds and microseconds */ typedef struct a_timeval { long tv_sec; /* seconds */ long tv_usec; /* and microseconds */ } a_timeval_t; #endif /* __SYS_TIME_H */