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
This commit is contained in:
Andrey A. Chernov 1997-05-13 09:25:03 +00:00
parent 80ec9b23e0
commit 9e0eb33e2f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=25769

View File

@ -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_