diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index 7f3bd277b..02988aee3 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -72,8 +72,6 @@ extern _X_EXPORT Bool sbusSlotClaimed; extern _X_EXPORT int platformSlotClaimed; #endif -extern _X_EXPORT confDRIRec xf86ConfigDRI; - #define XF86SCRNINFO(p) xf86ScreenToScrn(p) #define XF86FLIP_PIXELS() \ diff --git a/hw/xfree86/common/xf86Config.h b/hw/xfree86/common/xf86Config.h index be5c2bbfa..7be9f3ed7 100644 --- a/hw/xfree86/common/xf86Config.h +++ b/hw/xfree86/common/xf86Config.h @@ -69,4 +69,6 @@ GDevPtr autoConfigDevice(GDevPtr preconf_device); void xf86SetVerbosity(int verb); void xf86SetLogVerbosity(int verb); +extern confDRIRec xf86ConfigDRI; + #endif /* _xf86_config_h */ diff --git a/hw/xfree86/dri/dri.c b/hw/xfree86/dri/dri.c index ab3b2fc30..8eb9e62c9 100644 --- a/hw/xfree86/dri/dri.c +++ b/hw/xfree86/dri/dri.c @@ -73,6 +73,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "inputstr.h" #include "xf86VGAarbiter_priv.h" #include "xf86Extensions.h" +#include "xf86Config.h" static int DRIEntPrivIndex = -1; static DevPrivateKeyRec DRIScreenPrivKeyRec;