diff --git a/components/libc/compilers/common/sys/time.h b/components/libc/compilers/common/sys/time.h index 34ca9427b9aa19c9740866071a0250760b9a051c..4c522a524a137e14fccada1bc52d0b0f84c48975 100644 --- a/components/libc/compilers/common/sys/time.h +++ b/components/libc/compilers/common/sys/time.h @@ -55,6 +55,7 @@ int gettimeofday(struct timeval *tv, struct timezone *tz); int settimeofday(const struct timeval *tv, const struct timezone *tz); #ifdef RT_USING_PTHREADS +#include /* posix clock and timer */ #define MILLISECOND_PER_SECOND 1000UL #define MICROSECOND_PER_SECOND 1000000UL