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