[Intel-gfx] fix non-XVMC build

Patrick Welche prlw1 at cam.ac.uk
Mon Nov 3 14:36:56 CET 2014


It seems that inclusion of intel_xvmc.h is usually protected by INTEL_XVMC.
The unprotected inclusion in src/uda/i965_video.c doesn't seem to be
necessary so rather than protect it, the following should be sufficient?

Cheers,

Patrick

diff --git a/src/uxa/i965_video.c b/src/uxa/i965_video.c
index 68e6fd3..438ab90 100644
--- a/src/uxa/i965_video.c
+++ b/src/uxa/i965_video.c
@@ -37,7 +37,6 @@
 #include "fourcc.h"
 
 #include "intel.h"
-#include "intel_xvmc.h"
 #include "intel_uxa.h"
 #include "i830_reg.h"
 #include "i965_reg.h"



More information about the Intel-gfx mailing list