@@ -19,10 +19,14 @@ #ifdef HAVE_PTHREAD_NP_H # include #endif #import "macros.h" + +#ifdef OF_HAIKU +# include +#endif struct thread_ctx { void (*function)(id object); id object; };