From 699bf9dcd3793d9ce710067861df2df14cfa9e57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Wed, 9 Mar 2011 20:39:13 +0100 Subject: [PATCH] vo_dga: replace xf86dga.h with Xxf86dga.h xf86dga.h is deprecated and may be removed in the future. --- configure | 4 ++-- libvo/vo_3dfx.c | 2 +- libvo/vo_dga.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 4609eba591..975413261e 100755 --- a/configure +++ b/configure @@ -4036,11 +4036,11 @@ echores "$_xf86keysym" echocheck "DGA" if test "$_dga2" = auto && test "$_x11" = yes ; then _dga2=no - statement_check_broken X11/Xlib.h X11/extensions/xf86dga.h 'XDGASetViewport(0, 0, 0, 0, 0)' -lXxf86dga && _dga2=yes + statement_check_broken X11/Xlib.h X11/extensions/Xxf86dga.h 'XDGASetViewport(0, 0, 0, 0, 0)' -lXxf86dga && _dga2=yes fi if test "$_dga1" = auto && test "$_dga2" = no && test "$_vm" = yes ; then _dga1=no - statement_check_broken X11/Xlib.h X11/extensions/xf86dga.h 'XF86DGASetViewPort(0, 0, 0, 0)' -lXxf86dga -lXxf86vm && _dga1=yes + statement_check_broken X11/Xlib.h X11/extensions/Xxf86dga.h 'XF86DGASetViewPort(0, 0, 0, 0)' -lXxf86dga -lXxf86vm && _dga1=yes fi _dga=no diff --git a/libvo/vo_3dfx.c b/libvo/vo_3dfx.c index 2595b415e5..4f7e41e9f8 100644 --- a/libvo/vo_3dfx.c +++ b/libvo/vo_3dfx.c @@ -40,7 +40,7 @@ #include #include -#include +#include #include //#define LOG(x) syslog(LOG_USER | LOG_DEBUG,x) diff --git a/libvo/vo_dga.c b/libvo/vo_dga.c index 94d42774a8..001d112e8f 100644 --- a/libvo/vo_dga.c +++ b/libvo/vo_dga.c @@ -35,7 +35,7 @@ #include "mp_msg.h" #include -#include +#include #ifdef CONFIG_XF86VM #include