diff --git a/glamor/glamor_egl.c b/glamor/glamor_egl.c index b30eeec50..2f97a839b 100644 --- a/glamor/glamor_egl.c +++ b/glamor/glamor_egl.c @@ -27,9 +27,7 @@ * */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif +#include "dix-config.h" #define GLAMOR_FOR_XORG #include diff --git a/glamor/glamor_eglmodule.c b/glamor/glamor_eglmodule.c index e7c8edac8..5ddd60235 100644 --- a/glamor/glamor_eglmodule.c +++ b/glamor/glamor_eglmodule.c @@ -27,9 +27,7 @@ * Zhigang Gong */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif +#include "dix-config.h" #include #define GLAMOR_FOR_XORG diff --git a/glamor/glamor_priv.h b/glamor/glamor_priv.h index c733b9019..9f0c5583f 100644 --- a/glamor/glamor_priv.h +++ b/glamor/glamor_priv.h @@ -27,9 +27,7 @@ #ifndef GLAMOR_PRIV_H #define GLAMOR_PRIV_H -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif +#include "dix-config.h" #include #ifndef DEBUG