summaryrefslogtreecommitdiff
path: root/media/ffvpx/libavutil/x86/emms.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/ffvpx/libavutil/x86/emms.h')
-rw-r--r--media/ffvpx/libavutil/x86/emms.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/media/ffvpx/libavutil/x86/emms.h b/media/ffvpx/libavutil/x86/emms.h
index c21e34b451..8ceec110cf 100644
--- a/media/ffvpx/libavutil/x86/emms.h
+++ b/media/ffvpx/libavutil/x86/emms.h
@@ -21,11 +21,14 @@
#include "config.h"
#include "libavutil/attributes.h"
-#include "libavutil/cpu.h"
void avpriv_emms_asm(void);
#if HAVE_MMX_INLINE
+#ifndef __MMX__
+#include "libavutil/cpu.h"
+#endif
+
# define emms_c emms_c
/**
* Empty mmx state.