summaryrefslogtreecommitdiffstats
path: root/include/time.h
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-05-13 09:25:03 +0000
committerache <ache@FreeBSD.org>1997-05-13 09:25:03 +0000
commite43c7e0e2aca8b220946edd5ae7160317bb0daf9 (patch)
tree875a6ab8dd8f58d28750587e1eaecf5ed8a366b5 /include/time.h
parente51b817ee5b2e33786031e92e1998a8cf6c6b0cf (diff)
downloadFreeBSD-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
Diffstat (limited to 'include/time.h')
-rw-r--r--include/time.h5
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_
OpenPOWER on IntegriCloud