diff --git a/xtos/include/sof/lib/perf_cnt.h b/xtos/include/sof/lib/perf_cnt.h index 1bae17e14480..1eb0786746ff 100644 --- a/xtos/include/sof/lib/perf_cnt.h +++ b/xtos/include/sof/lib/perf_cnt.h @@ -55,8 +55,9 @@ struct perf_cnt_data { * "cpu" timestamps to be equal. */ #ifdef __ZEPHYR__ + #include #ifdef CONFIG_TIMING_FUNCTIONS - #define perf_cnt_get_cpu_ts arch_timing_counter_get + #define perf_cnt_get_cpu_ts timing_counter_get #else #define perf_cnt_get_cpu_ts sof_cycle_get_64 #endif /* CONFIG_TIMING_FUNCTIONS */