diff options
author | ache <ache@FreeBSD.org> | 1997-05-13 09:25:03 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-05-13 09:25:03 +0000 |
commit | e43c7e0e2aca8b220946edd5ae7160317bb0daf9 (patch) | |
tree | 875a6ab8dd8f58d28750587e1eaecf5ed8a366b5 | |
parent | e51b817ee5b2e33786031e92e1998a8cf6c6b0cf (diff) | |
download | FreeBSD-src-e43c7e0e2aca8b220946edd5ae7160317bb0daf9.zip FreeBSD-src-e43c7e0e2aca8b220946edd5ae7160317bb0daf9.tar.gz |
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
-rw-r--r-- | include/time.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h index 5b3bcd3..6ffb3b0 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_ |