summaryrefslogtreecommitdiff
path: root/ace/os_include/os_time.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/os_include/os_time.h')
-rw-r--r--ace/os_include/os_time.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ace/os_include/os_time.h b/ace/os_include/os_time.h
index 5083070f29b..6ba9cc45aa9 100644
--- a/ace/os_include/os_time.h
+++ b/ace/os_include/os_time.h
@@ -81,6 +81,12 @@ extern "C"
# endif /* defined (ACE_PSOS_DIAB_PPC) */
#endif /* defined (ACE_PSOS) && !defined (USER_INCLUDE_SYS_TIME_TM) */
+#if defined (ACE_LACKS_CONST_TIMESPEC_PTR)
+typedef struct timespec * ACE_TIMESPEC_PTR;
+#else
+typedef const struct timespec * ACE_TIMESPEC_PTR;
+#endif /* HPUX */
+
#ifdef __cplusplus
}
#endif /* __cplusplus */