diff --git a/dix/dix_priv.h b/dix/dix_priv.h index 5bf39ff569..56cefe2785 100644 --- a/dix/dix_priv.h +++ b/dix/dix_priv.h @@ -68,6 +68,8 @@ extern _X_EXPORT Bool enableIndirectGLX; extern int defaultColorVisualClass; +extern const char *defaultFontPath; + /* * @brief callback right after one screen's root window has been initialized * diff --git a/hw/xfree86/common/xf86Configure.c b/hw/xfree86/common/xf86Configure.c index b6aa3e5b09..3b370f1113 100644 --- a/hw/xfree86/common/xf86Configure.c +++ b/hw/xfree86/common/xf86Configure.c @@ -26,6 +26,7 @@ #include +#include "dix/dix_priv.h" #include "os/ddx_priv.h" #include "os/mathx_priv.h" #include "os/osdep.h" diff --git a/hw/xwin/winconfig.c b/hw/xwin/winconfig.c index e9482254c1..d730e4b7d6 100644 --- a/hw/xwin/winconfig.c +++ b/hw/xwin/winconfig.c @@ -31,6 +31,9 @@ #ifdef HAVE_XWIN_CONFIG_H #include #endif + +#include "dix/dix_priv.h" + #include "win.h" #include "winconfig.h" #include "winmsg.h" diff --git a/include/globals.h b/include/globals.h index ca922638a2..b5cd178277 100644 --- a/include/globals.h +++ b/include/globals.h @@ -6,7 +6,6 @@ /* Global X server variables that are visible to mi, dix, os, and ddx */ -extern _X_EXPORT const char *defaultFontPath; extern _X_EXPORT int monitorResolution; #endif /* !_XSERV_GLOBAL_H_ */