diff --git a/hw/xfree86/dixmods/ftmodule.c b/hw/xfree86/dixmods/ftmodule.c index a895d4d20..c2fe79089 100644 --- a/hw/xfree86/dixmods/ftmodule.c +++ b/hw/xfree86/dixmods/ftmodule.c @@ -30,8 +30,8 @@ #include #include "xf86Module.h" -#ifdef HAVE_DIX_CONFIG_H -#include +#ifdef HAVE_XORG_CONFIG_H +#include #endif static MODULESETUPPROTO(freetypeSetup); diff --git a/hw/xfree86/dixmods/type1mod.c b/hw/xfree86/dixmods/type1mod.c index 5b93dbcb3..e652591a2 100644 --- a/hw/xfree86/dixmods/type1mod.c +++ b/hw/xfree86/dixmods/type1mod.c @@ -30,8 +30,8 @@ #include #include "xf86Module.h" -#ifdef HAVE_DIX_CONFIG_H -#include +#ifdef HAVE_XORG_CONFIG_H +#include #endif static MODULESETUPPROTO(type1Setup);