diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c index 21cf3a80b..cbb0099a6 100644 --- a/hw/xfree86/common/xf86Config.c +++ b/hw/xfree86/common/xf86Config.c @@ -55,7 +55,7 @@ #include "os/osdep.h" #include "xkb/xkbsrv_priv.h" -#include "xf86.h" +#include "xf86_priv.h" #include "xf86Modes.h" #include "xf86Parser_priv.h" #include "xf86tokens.h" diff --git a/hw/xfree86/common/xf86Priv.h b/hw/xfree86/common/xf86Priv.h index 835935ea4..7816b3ca7 100644 --- a/hw/xfree86/common/xf86Priv.h +++ b/hw/xfree86/common/xf86Priv.h @@ -42,7 +42,6 @@ * Parameters set ONLY from the command line options * The global state of these things is held in xf86InfoRec (when appropriate). */ -extern _X_EXPORT Bool xf86AllowMouseOpenFail; extern _X_EXPORT Bool xf86AutoBindGPUDisabled; #ifdef XF86VIDMODE diff --git a/hw/xfree86/common/xf86_priv.h b/hw/xfree86/common/xf86_priv.h index ec932cf83..2ec91a032 100644 --- a/hw/xfree86/common/xf86_priv.h +++ b/hw/xfree86/common/xf86_priv.h @@ -11,6 +11,13 @@ extern Bool xf86DoConfigure; extern Bool xf86DoConfigurePass1; extern Bool xf86ProbeIgnorePrimary; +/* + * Parameters set ONLY from the command line options + * The global state of these things is held in xf86InfoRec (when appropriate). + */ +/* globals.c */ +extern Bool xf86AllowMouseOpenFail; + /* xf86Cursor.c */ void xf86LockZoom(ScreenPtr pScreen, int lock); void xf86InitViewport(ScrnInfoPtr pScr);