Move the DGA check for XDGA_MAJOR_VERSION inside the actual HAVE_DGA

check. :)
This commit is contained in:
Jeff Teunissen 2001-02-14 16:47:50 +00:00
parent 8dead3b82d
commit 30a0105e82

View file

@ -39,10 +39,6 @@
#ifdef HAVE_DGA #ifdef HAVE_DGA
# include <X11/extensions/xf86dga.h> # include <X11/extensions/xf86dga.h>
# include <X11/extensions/xf86dgastr.h> # include <X11/extensions/xf86dgastr.h>
#endif
#ifdef HAVE_VIDMODE
# include <X11/extensions/xf86vmode.h>
# include <X11/extensions/xf86vmstr.h>
# ifndef XDGA_MAJOR_VERSION # ifndef XDGA_MAJOR_VERSION
# ifdef XF86DGA_MAJOR_VERSION # ifdef XF86DGA_MAJOR_VERSION
# define XDGA_MAJOR_VERSION XF86DGA_MAJOR_VERSION # define XDGA_MAJOR_VERSION XF86DGA_MAJOR_VERSION
@ -51,6 +47,10 @@
# endif # endif
# endif # endif
#endif #endif
#ifdef HAVE_VIDMODE
# include <X11/extensions/xf86vmode.h>
# include <X11/extensions/xf86vmstr.h>
#endif
#include "console.h" #include "console.h"
#include "dga_check.h" #include "dga_check.h"