This commit is contained in:
mysterywolf 2020-12-16 16:05:43 +08:00
parent 9d004a2892
commit e5b10628ee
1 changed files with 1 additions and 2 deletions

View File

@ -36,8 +36,7 @@ struct timeval {
};
#endif /* _TIMEVAL_DEFINED */
#ifndef _TIMESPEC
#define _TIMESPEC
#ifndef __GNUC__
struct timespec {
time_t tv_sec; /* seconds */
long tv_nsec; /* and nanoseconds */