From: Ovidiu Predescu Date: Thu, 10 Aug 2000 07:11:02 +0000 (+0000) Subject: Include auto-host.h. Conditionally include . X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a46ef5eec490cef0e68047b515d5283aefa3c9d;p=gcc.git Include auto-host.h. Conditionally include . From-SVN: r35599 --- diff --git a/gcc/gthr-posix.h b/gcc/gthr-posix.h index 364473dbdae..2bbcc35a9f1 100644 --- a/gcc/gthr-posix.h +++ b/gcc/gthr-posix.h @@ -90,6 +90,12 @@ __gthread_active_p (void) #ifdef _LIBOBJC +#include + +#ifdef HAVE_SCHED_H +# include +#endif + /* Key structure for maintaining thread specific storage */ static pthread_key_t _objc_thread_storage; static pthread_attr_t _objc_thread_attribs;