--- chromecast/media/base/default_monotonic_clock.cc.orig 2022-02-28 16:54:41 UTC +++ chromecast/media/base/default_monotonic_clock.cc @@ -11,7 +11,7 @@ #include "base/time/time.h" #include "build/build_config.h" -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) #include "chromecast/media/base/buildflags.h" #endif // BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || // BUILDFLAG(IS_CHROMEOS) @@ -28,7 +28,7 @@ std::unique_ptr MonotonicClock::Create return std::make_unique(); } -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) +#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) int64_t MonotonicClockNow() { timespec now = {0, 0}; #if BUILDFLAG(MEDIA_CLOCK_MONOTONIC_RAW)