diff --git a/hw/xfree86/dixmods/ftmodule.c b/hw/xfree86/dixmods/ftmodule.c index 27b2bd2c3..a895d4d20 100644 --- a/hw/xfree86/dixmods/ftmodule.c +++ b/hw/xfree86/dixmods/ftmodule.c @@ -30,6 +30,10 @@ #include #include "xf86Module.h" +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + static MODULESETUPPROTO(freetypeSetup); /* diff --git a/hw/xfree86/dixmods/type1mod.c b/hw/xfree86/dixmods/type1mod.c index 3e8547b50..5b93dbcb3 100644 --- a/hw/xfree86/dixmods/type1mod.c +++ b/hw/xfree86/dixmods/type1mod.c @@ -30,6 +30,10 @@ #include #include "xf86Module.h" +#ifdef HAVE_DIX_CONFIG_H +#include +#endif + static MODULESETUPPROTO(type1Setup); /*