gettimeofday.h
00001
00002
00003
00004 #ifndef _LIBU_GETTIMEOFDAY_H_
00005 #define _LIBU_GETTIMEOFDAY_H_
00006 #include <u/libu_conf.h>
00007 #include <time.h>
00008 #include <sys/time.h>
00009
00010 #ifndef HAVE_GETTIMEOFDAY
00011
00012 #ifdef __cplusplus
00013 extern "C" {
00014 #endif
00015
00016 struct timezone
00017 {
00018 int tz_minuteswest;
00019 int tz_dsttime;
00020 };
00021
00022 int gettimeofday(struct timeval *tp, struct timezone *tzp);
00023
00024 #ifdef __cplusplus
00025 }
00026 #endif
00027
00028 #endif
00029
00030 #endif