Commit ec1daa39 authored by Zhao Zhili's avatar Zhao Zhili

avutil/timer: Fix missing header for mach_absolute_time

mach/mach_time.h was included only when CONFIG_MACOS_KPERF wasn't
been defined.
Signed-off-by: 's avatarZhao Zhili <zhilizhao@tencent.com>
parent 74b4e550
......@@ -44,7 +44,9 @@
#if CONFIG_MACOS_KPERF
#include "macos_kperf.h"
#elif HAVE_MACH_ABSOLUTE_TIME
#endif
#if HAVE_MACH_ABSOLUTE_TIME
#include <mach/mach_time.h>
#elif HAVE_CLOCK_GETTIME
#include <time.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment