@@ -21,10 +21,12 @@ # error No threads available! #endif #include +#import "OFObject.h" + #import "macros.h" #if defined(OF_HAVE_PTHREADS) # include typedef pthread_t of_thread_t; @@ -222,11 +224,11 @@ #endif } static OF_INLINE bool of_condition_timed_wait(of_condition_t *condition, of_mutex_t *mutex, - double timeout) + of_time_interval_t timeout) { #if defined(OF_HAVE_PTHREADS) struct timespec ts; ts.tv_sec = (time_t)timeout;