[PATCH xserver 1/2] xf86Crtc: include "xf86xv.h" only if XV

Alan Coopersmith alan.coopersmith at oracle.com
Wed Mar 28 19:44:13 PDT 2012


On 03/27/12 10:16 PM, Yaakov (Cygwin/X) wrote:
> From: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
> 
> Signed-off-by: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
> ---
>  hw/xfree86/modes/xf86Crtc.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c
> index 6d5e92f..fee1ae7 100644
> --- a/hw/xfree86/modes/xf86Crtc.c
> +++ b/hw/xfree86/modes/xf86Crtc.c
> @@ -44,7 +44,9 @@
>  #include "X11/Xatom.h"
>  #include "picturestr.h"
>  
> +#ifdef XV
>  #include "xf86xv.h"
> +#endif
>  
>  #define NO_OUTPUT_DEFAULT_WIDTH 1024
>  #define NO_OUTPUT_DEFAULT_HEIGHT 768

Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list