Module: libav Branch: master Commit: 08fa828b3fe242038c12df3e145e2c571e697d13
Author: Alex Smith <[email protected]> Committer: Martin Storsjö <[email protected]> Date: Sat Sep 21 07:22:12 2013 -0400 avutil: Fix compilation with inline asm disabled on mingw Because of -Werror=implicit-function-declaration the build will fail. Signed-off-by: Martin Storsjö <[email protected]> --- libavutil/x86/timer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/x86/timer.h b/libavutil/x86/timer.h index 35e614d..cdd67dd 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 */ _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
