summaryrefslogtreecommitdiff
path: root/ace/os_include
diff options
context:
space:
mode:
Diffstat (limited to 'ace/os_include')
-rw-r--r--ace/os_include/os_signal.h2
-rw-r--r--ace/os_include/os_unistd.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/ace/os_include/os_signal.h b/ace/os_include/os_signal.h
index 1f5d53453cd..b3426bf0add 100644
--- a/ace/os_include/os_signal.h
+++ b/ace/os_include/os_signal.h
@@ -195,7 +195,7 @@ extern "C"
#endif /* ACE_PSOS && !ACE_PSOSIM */
#if defined (VXWORKS)
-# define NSIG (_NSIGS + 1)
+# define ACE_NSIG (_NSIGS + 1)
#elif defined (__Lynx__)
// LynxOS Neutrino sets NSIG to the highest-numbered signal.
# define ACE_NSIG (NSIG + 1)
diff --git a/ace/os_include/os_unistd.h b/ace/os_include/os_unistd.h
index c7d7aafc3a5..e8a8e69407b 100644
--- a/ace/os_include/os_unistd.h
+++ b/ace/os_include/os_unistd.h
@@ -48,6 +48,8 @@
// for unlink(), close(), read(), write(), lseek(), chdir(), getcwd(), getwd(),
// and isatty()
# include /**/ <ioLib.h>
+// for gethostname()
+# include /**/ <hostLib.h>
#endif /* VXWORKS */
// Place all additions (especially function declarations) within extern "C" {}