diff options
Diffstat (limited to 'thread_pthread.h')
-rw-r--r-- | thread_pthread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/thread_pthread.h b/thread_pthread.h index 64a17fcf67..97a26e0e80 100644 --- a/thread_pthread.h +++ b/thread_pthread.h @@ -20,7 +20,9 @@ typedef pthread_mutex_t rb_thread_lock_t; typedef struct rb_thread_cond_struct { pthread_cond_t cond; +#ifdef HAVE_CLOCKID_T clockid_t clockid; +#endif } rb_thread_cond_t; typedef struct native_thread_data_struct { |