diff options
author | ovidiu <ovidiu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-10 07:11:02 +0000 |
---|---|---|
committer | ovidiu <ovidiu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-08-10 07:11:02 +0000 |
commit | f41d0c2088c0cb9b33269bd0a65415c72ca05436 (patch) | |
tree | d88c55ce5d24cb81771e1fb56783fa69fff2883e /gcc/gthr-posix.h | |
parent | b78b04c260b841b30f3e96e393adac2a44a4e88d (diff) | |
download | gcc-f41d0c2088c0cb9b33269bd0a65415c72ca05436.tar.gz |
Include auto-host.h. Conditionally include <sched.h>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35599 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gthr-posix.h')
-rw-r--r-- | gcc/gthr-posix.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 <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; |