#ifndef GETTIMEOFDAY_H #define GETTIMEOFDAY_H #include #if TIME_WITH_SYS_TIME # include # include #else # if HAVE_SYS_TIME_H # include # else # include # endif #endif #ifndef HAVE_STRUCT_TIMEVAL struct timeval { time_t tv_sec; suseconds_t tv_usec; }; #endif #ifndef HAVE_GETTIMEOFDAY int gettimeofday(struct timeval *tp, void *tzp); #endif #endif /* GETTIMEOFDAY_H */