changeset 34239:4e2f4bd081ce

libvo: Move x86_cpu.h #include to aclib_template, where it is actually used. This fixes TOOLS/fastmemcpybench compilation.
author diego
date Mon, 07 Nov 2011 19:54:49 +0000
parents 30adc04c4041
children 43b60a64debf
files libvo/aclib.c libvo/aclib_template.c
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/aclib.c	Mon Nov 07 19:54:47 2011 +0000
+++ b/libvo/aclib.c	Mon Nov 07 19:54:49 2011 +0000
@@ -27,7 +27,6 @@
 #include <string.h>
 #include "cpudetect.h"
 #include "fastmemcpy.h"
-#include "libavutil/x86_cpu.h"
 #undef memcpy
 
 #define BLOCK_SIZE 4096
--- a/libvo/aclib_template.c	Mon Nov 07 19:54:47 2011 +0000
+++ b/libvo/aclib_template.c	Mon Nov 07 19:54:49 2011 +0000
@@ -80,6 +80,7 @@
 // 3dnow memcpy support from kernel 2.4.2
 //  by Pontscho/fresh!mindworkz
 
+#include "libavutil/x86_cpu.h"
 
 #undef HAVE_ONLY_MMX1
 #if HAVE_MMX && !HAVE_MMX2 && !HAVE_AMD3DNOW && !HAVE_SSE