Include auto-host.h. Conditionally include <sched.h>.

From-SVN: r35599
This commit is contained in:
Ovidiu Predescu 2000-08-10 07:11:02 +00:00
parent c3d80041a3
commit 1a46ef5eec
1 changed files with 6 additions and 0 deletions

View File

@ -90,6 +90,12 @@ __gthread_active_p (void)
#ifdef _LIBOBJC
#include <auto-host.h>
#ifdef HAVE_SCHED_H
# include <sched.h>
#endif
/* Key structure for maintaining thread specific storage */
static pthread_key_t _objc_thread_storage;
static pthread_attr_t _objc_thread_attribs;