diff --git a/AK/Platform.h b/AK/Platform.h index 4c93789d289..c2fe8deee31 100644 --- a/AK/Platform.h +++ b/AK/Platform.h @@ -233,7 +233,7 @@ # define CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC #endif -#if defined(AK_OS_BSD_GENERIC) && !defined(AK_OS_FREEBSD) +#if defined(AK_OS_BSD_GENERIC) && !defined(AK_OS_FREEBSD) || defined(AK_OS_HAIKU) # define CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC # define CLOCK_REALTIME_COARSE CLOCK_REALTIME #endif