summaryrefslogtreecommitdiffstats
path: root/mpeglib
diff options
context:
space:
mode:
Diffstat (limited to 'mpeglib')
-rw-r--r--mpeglib/ConfigureChecks.cmake2
-rw-r--r--mpeglib/lib/util/render/x11/xinit.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/mpeglib/ConfigureChecks.cmake b/mpeglib/ConfigureChecks.cmake
index 254eb03d..c411b689 100644
--- a/mpeglib/ConfigureChecks.cmake
+++ b/mpeglib/ConfigureChecks.cmake
@@ -34,7 +34,7 @@ pkg_search_module( XEXT xext )
check_include_file( "X11/extensions/XShm.h" X11_SHARED_MEM )
-check_include_file( "X11/extensions/xf86dga1.h" X11_DGA2 )
+check_include_file( "X11/extensions/Xxf86dga.h" X11_DGA2 )
if( X11_DGA2 )
set( DGA_LIBRARIES Xxf86dga )
endif( )
diff --git a/mpeglib/lib/util/render/x11/xinit.h b/mpeglib/lib/util/render/x11/xinit.h
index c42c290f..fe6c09b9 100644
--- a/mpeglib/lib/util/render/x11/xinit.h
+++ b/mpeglib/lib/util/render/x11/xinit.h
@@ -38,7 +38,7 @@
#endif
#ifdef X11_DGA2
-#include <X11/extensions/xf86dga.h>
+#include <X11/extensions/Xxf86dga.h>
#endif
#define ERR_XI_FAILURE 0xFF