summaryrefslogtreecommitdiff
path: root/ace/OS.h
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-09-16 21:19:02 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-09-16 21:19:02 +0000
commit40fdc8a404e75ab03b68cc62e9987cf208fd8c30 (patch)
tree37d9c4d3abe4aefd8a34ed797883dd2cd4862ca7 /ace/OS.h
parentc254b281f1b9a4ca19dd0c3ee73a0654a7718909 (diff)
downloadATCD-40fdc8a404e75ab03b68cc62e9987cf208fd8c30.tar.gz
This commit was manufactured by cvs2svn to create branchtypecode-overhaul
'typecode-overhaul'.
Diffstat (limited to 'ace/OS.h')
-rw-r--r--ace/OS.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/ace/OS.h b/ace/OS.h
index 14f86e2a4ae..96864d4e5af 100644
--- a/ace/OS.h
+++ b/ace/OS.h
@@ -297,6 +297,9 @@ class ACE_Timeout_Manager;
# if defined (ACE_HAS_TERM_IOCTLS)
# include "ace/os_include/os_termios.h"
+# if defined (HPUX)
+# include /**/ <sys/modem.h>
+# endif /* HPUX */
# endif /* ACE_HAS_TERM_IOCTLS */
# if defined (ACE_HAS_AIO_CALLS)
@@ -305,6 +308,14 @@ class ACE_Timeout_Manager;
# include "ace/os_include/os_limits.h" // <sys/param.h>
+// This is here for ACE_OS::num_processors_online(). On HP-UX, it
+// needs sys/param.h (above) and sys/pstat.h. The implementation of the
+// num_processors_online() method also uses 'defined (__hpux)' to decide
+// whether or not to try the syscall.
+# if defined (__hpux)
+# include /**/ <sys/pstat.h>
+# endif /* __hpux **/
+
# if !defined (ACE_LACKS_UNIX_DOMAIN_SOCKETS) && !defined (VXWORKS)
# include "ace/os_include/sys/os_un.h"
# endif /* ACE_LACKS_UNIX_DOMAIN_SOCKETS */