diff --git a/libavutil/timer.h b/libavutil/timer.h index 6bd6a0c645..9fe6aa1385 100644 --- a/libavutil/timer.h +++ b/libavutil/timer.h @@ -44,7 +44,9 @@ #if CONFIG_MACOS_KPERF #include "macos_kperf.h" -#elif HAVE_MACH_ABSOLUTE_TIME +#endif + +#if HAVE_MACH_ABSOLUTE_TIME #include #elif HAVE_CLOCK_GETTIME #include