From 5d90e9cfb8e7dd981cac14c462753ec94e617f30 Mon Sep 17 00:00:00 2001 From: Liav A Date: Sat, 14 Mar 2020 00:58:31 +0200 Subject: [PATCH] Kernel & LibC: Add CLOCK_REALTIME constant --- Kernel/UnixTypes.h | 1 + Libraries/LibC/time.h | 1 + 2 files changed, 2 insertions(+) diff --git a/Kernel/UnixTypes.h b/Kernel/UnixTypes.h index 66c07c6496e..3b50ef1957a 100644 --- a/Kernel/UnixTypes.h +++ b/Kernel/UnixTypes.h @@ -466,6 +466,7 @@ typedef enum { typedef int clockid_t; +#define CLOCK_REALTIME 0 #define CLOCK_MONOTONIC 1 #define TIMER_ABSTIME 99 diff --git a/Libraries/LibC/time.h b/Libraries/LibC/time.h index 84a98987547..f94fed9c999 100644 --- a/Libraries/LibC/time.h +++ b/Libraries/LibC/time.h @@ -69,6 +69,7 @@ struct timespec { typedef int clockid_t; +#define CLOCK_REALTIME 0 #define CLOCK_MONOTONIC 1 #define TIMER_ABSTIME 99