aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-05-13 09:25:03 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-05-13 09:25:03 +0000
commit9e0eb33e2f9bd604c2f3e583913267d9695815f9 (patch)
tree59f6dd28016bea23ccf3a573badee40f6fdf98ae
parent80ec9b23e0b34793078efdd191d23fe31ffb50e5 (diff)
downloadsrc-9e0eb33e2f9bd604c2f3e583913267d9695815f9.tar.gz
src-9e0eb33e2f9bd604c2f3e583913267d9695815f9.zip
Add clockid_t definition like in sys/types.h to allow time.h
to be included without sys/types.h, it fixes broken groff compilation
Notes
Notes: svn path=/head/; revision=25769
-rw-r--r--include/time.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h
index 5b3bcd3849e4..6ffb3b0af442 100644
--- a/include/time.h
+++ b/include/time.h
@@ -68,6 +68,11 @@ typedef _BSD_TIME_T_ time_t;
#undef _BSD_TIME_T_
#endif
+#ifdef _BSD_CLOCKID_T_
+typedef _BSD_CLOCKID_T_ clockid_t;
+#undef _BSD_CLOCKID_T_
+#endif
+
#ifdef _BSD_SIZE_T_
typedef _BSD_SIZE_T_ size_t;
#undef _BSD_SIZE_T_