Commit 1a46ef5e by Ovidiu Predescu

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

From-SVN: r35599
parent c3d80041
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment