diff --git a/dix/dix_priv.h b/dix/dix_priv.h index c8abe051f..5bf39ff56 100644 --- a/dix/dix_priv.h +++ b/dix/dix_priv.h @@ -66,6 +66,8 @@ extern Bool party_like_its_1989; /* needed by libglx and libglamor (server modules) */ extern _X_EXPORT Bool enableIndirectGLX; +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 ecb7b2bb0..ca922638a 100644 --- a/include/globals.h +++ b/include/globals.h @@ -8,6 +8,5 @@ extern _X_EXPORT const char *defaultFontPath; extern _X_EXPORT int monitorResolution; -extern _X_EXPORT int defaultColorVisualClass; #endif /* !_XSERV_GLOBAL_H_ */ 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"