From 9e0eb33e2f9bd604c2f3e583913267d9695815f9 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Tue, 13 May 1997 09:25:03 +0000 Subject: [PATCH] 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 --- include/time.h | 5 +++++ 1 file changed, 5 insertions(+) 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_