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
1 changed files with 4 additions and 4 deletions

View File

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