summaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/x86/intmath.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/x86/intmath.h b/libavutil/x86/intmath.h
index 61d1a73..d504079 100644
--- a/libavutil/x86/intmath.h
+++ b/libavutil/x86/intmath.h
@@ -22,6 +22,9 @@
#define AVUTIL_X86_INTMATH_H
#include <stdint.h>
+#if HAVE_FAST_CLZ && (defined(__INTEL_COMPILER) || defined(_MSC_VER))
+#include <immintrin.h>
+#endif
#include "config.h"
#if HAVE_FAST_CLZ
OpenPOWER on IntegriCloud