aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2020-07-14 20:23:27 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2020-07-14 20:23:27 +0000
commitaeafed21c4e2b2fbd54de67ba3152efc906d4891 (patch)
treee171b510003fc63a55af6cfb659c9a0b7a8deee6 /sys
parent4a022f0e0697bcfe84f02eaf9d5cf193e01feec0 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/time.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/time.h b/sys/sys/time.h
index 4051b9d316573..fb55bfefd85e3 100644
--- a/sys/sys/time.h
+++ b/sys/sys/time.h
@@ -463,8 +463,12 @@ struct clockinfo {
/* These macros are also in time.h. */
#ifndef CLOCK_REALTIME
#define CLOCK_REALTIME 0
+#endif
+#ifndef CLOCK_VIRTUAL
#define CLOCK_VIRTUAL 1
#define CLOCK_PROF 2
+#endif
+#ifndef CLOCK_MONOTONIC
#define CLOCK_MONOTONIC 4
#define CLOCK_UPTIME 5 /* FreeBSD-specific. */
#define CLOCK_UPTIME_PRECISE 7 /* FreeBSD-specific. */