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: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
parent
74b4e550cb
commit
ec1daa39e0
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user