diff options
Diffstat (limited to 'ace/os_include/os_pthread.h')
-rw-r--r-- | ace/os_include/os_pthread.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ace/os_include/os_pthread.h b/ace/os_include/os_pthread.h index 77e1282bd67..574e0d9c71c 100644 --- a/ace/os_include/os_pthread.h +++ b/ace/os_include/os_pthread.h @@ -24,6 +24,18 @@ # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ +#if defined (ACE_HAS_PRIOCNTL) + // Need to #include thread.h before #defining THR_BOUND, etc., + // when building without threads on SunOS 5.x. +# if defined (sun) +# include /**/ <thread.h> +# endif /* sun */ + + // Need to #include these before #defining USYNC_PROCESS on SunOS 5.x. +# include /**/ <sys/rtpriocntl.h> +# include /**/ <sys/tspriocntl.h> +#endif /* ACE_HAS_PRIOCNTL */ + #include "ace/os_include/sys/os_types.h" // This needs to go here *first* to avoid problems with AIX. |