mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 00:32:31 +00:00
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
|
#if CONFIG_MACOS_KPERF
|
||||||
#include "macos_kperf.h"
|
#include "macos_kperf.h"
|
||||||
#elif HAVE_MACH_ABSOLUTE_TIME
|
#endif
|
||||||
|
|
||||||
|
#if HAVE_MACH_ABSOLUTE_TIME
|
||||||
#include <mach/mach_time.h>
|
#include <mach/mach_time.h>
|
||||||
#elif HAVE_CLOCK_GETTIME
|
#elif HAVE_CLOCK_GETTIME
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user