diff options
Diffstat (limited to 'components/libc/pthreads/pthread_internal.h')
| -rw-r--r-- | components/libc/pthreads/pthread_internal.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/libc/pthreads/pthread_internal.h b/components/libc/pthreads/pthread_internal.h index a6706ca091..240741e21a 100644 --- a/components/libc/pthreads/pthread_internal.h +++ b/components/libc/pthreads/pthread_internal.h @@ -13,6 +13,7 @@ #include <rtthread.h> #include <pthread.h> +#include <sys/time.h> struct _pthread_cleanup { @@ -62,8 +63,6 @@ typedef struct _pthread_data _pthread_data_t; _pthread_data_t *_pthread_get_data(pthread_t thread); -int clock_time_to_tick(const struct timespec *time); - void posix_mq_system_init(void); void posix_sem_system_init(void); void pthread_key_system_init(void); |
