diff --git a/testing/ostest/ostest.h b/testing/ostest/ostest.h index 30f16da5d..321ecd2d3 100644 --- a/testing/ostest/ostest.h +++ b/testing/ostest/ostest.h @@ -304,7 +304,7 @@ int sem_nfreeholders(void); void nxevent_test(void); #endif -#if defined(CONFIG_SCHED_EVENTS) && defined(CONFIG_BUILD_FLAT) +#if defined(CONFIG_HRTIMER) && defined(CONFIG_BUILD_FLAT) void hrtimer_test(void); #endif