diff options
author | Alex Smith <alex.smith@warpsharp.info> | 2013-09-21 07:22:12 -0400 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-09-22 00:50:32 +0300 |
commit | 08fa828b3fe242038c12df3e145e2c571e697d13 (patch) | |
tree | 1671b8ac65e4e693b5180cee77ca6e79da4cd5c8 | |
parent | e208e6d209728d332343aa5390ae377ac0a6305c (diff) | |
download | ffmpeg-08fa828b3fe242038c12df3e145e2c571e697d13.tar.gz |
avutil: Fix compilation with inline asm disabled on mingw
Because of -Werror=implicit-function-declaration the build will fail.
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | libavutil/x86/timer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/x86/timer.h b/libavutil/x86/timer.h index 35e614d0d0..cdd67ddbb5 100644 --- a/libavutil/x86/timer.h +++ b/libavutil/x86/timer.h @@ -36,6 +36,7 @@ static inline uint64_t read_time(void) #elif HAVE_RDTSC +#include <intrin.h> #define AV_READ_TIME __rdtsc #endif /* HAVE_INLINE_ASM */ |