From 3b13266f14641d8e956e888237df1da6f80fbc1b Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Fri, 13 Nov 2020 22:38:51 +0000 Subject: mach: Add missing assert.h include --- sysdeps/mach/clock_gettime.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysdeps/mach') diff --git a/sysdeps/mach/clock_gettime.c b/sysdeps/mach/clock_gettime.c index 840e06036b..f2f7bf1ff8 100644 --- a/sysdeps/mach/clock_gettime.c +++ b/sysdeps/mach/clock_gettime.c @@ -18,6 +18,7 @@ #include #include #include +#include #include /* Get the current time of day, putting it into *TS. @@ -31,6 +32,7 @@ __clock_gettime (clockid_t clock_id, struct timespec *ts) switch (clock_id) { case CLOCK_REALTIME: + case CLOCK_MONOTONIC: { /* __host_get_time can only fail if passed an invalid host_t. __mach_host_self could theoretically fail (producing an -- cgit 1.4.1