diff --git a/dix/dix_priv.h b/dix/dix_priv.h index 9da463f44..cb4f2ded9 100644 --- a/dix/dix_priv.h +++ b/dix/dix_priv.h @@ -68,6 +68,8 @@ extern _X_EXPORT Bool enableIndirectGLX; extern const char *defaultFontPath; +extern int defaultColorVisualClass; + /* * @brief callback right after one screen's root window has been initialized * diff --git a/include/globals.h b/include/globals.h index 454f101d9..400143f4d 100644 --- a/include/globals.h +++ b/include/globals.h @@ -7,7 +7,6 @@ /* Global X server variables that are visible to mi, dix, os, and ddx */ extern _X_EXPORT int monitorResolution; -extern _X_EXPORT int defaultColorVisualClass; extern _X_EXPORT char *SeatId; diff --git a/mi/micmap.c b/mi/micmap.c index f9201f942..bfc7a4c66 100644 --- a/mi/micmap.c +++ b/mi/micmap.c @@ -33,6 +33,7 @@ #include #include "dix/colormap_priv.h" +#include "dix/dix_priv.h" #include "mi/mi_priv.h" #include "os/bug_priv.h" #include "os/osdep.h"