diff --git a/Kernel/UnixTypes.h b/Kernel/UnixTypes.h index 66c07c6496..3b50ef1957 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 84a9898754..f94fed9c99 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