From b73976ff104113d91a7695468d755addb2c2812d Mon Sep 17 00:00:00 2001 From: Gleb Popov <6yearold@gmail.com> Date: Thu, 21 Nov 2019 17:55:59 +0100 Subject: [PATCH] logger: use CLOCK_MONOTONIC on freebsd --- spa/plugins/support/logger.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spa/plugins/support/logger.c b/spa/plugins/support/logger.c index f9197a568..1b9d10797 100644 --- a/spa/plugins/support/logger.c +++ b/spa/plugins/support/logger.c @@ -37,6 +37,10 @@ #include #include +#ifdef __FreeBSD__ +#define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC +#endif + #define NAME "logger" #define DEFAULT_LOG_LEVEL SPA_LOG_LEVEL_INFO