projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3d8004
)
Include auto-host.h. Conditionally include <sched.h>.
author
Ovidiu Predescu
<ovidiu@gcc.gnu.org>
Thu, 10 Aug 2000 07:11:02 +0000
(07:11 +0000)
committer
Ovidiu Predescu
<ovidiu@gcc.gnu.org>
Thu, 10 Aug 2000 07:11:02 +0000
(07:11 +0000)
From-SVN: r35599
gcc/gthr-posix.h
patch
|
blob
|
history
diff --git
a/gcc/gthr-posix.h
b/gcc/gthr-posix.h
index 364473dbdaeefb603b7880a2172cb7e16776e0ad..2bbcc35a9f19584fbc83fcc276943033bbab59f8 100644
(file)
--- a/
gcc/gthr-posix.h
+++ b/
gcc/gthr-posix.h
@@
-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;