diff --git a/src/vmwaremodes.c b/src/vmwaremodes.c index 5ff7b14..2f1e5b4 100644 --- a/src/vmwaremodes.c +++ b/src/vmwaremodes.c @@ -35,7 +35,13 @@ * supported modelines are manually added in the driver. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "xf86.h" +#ifdef HAVE_XORG_SERVER_1_2_0 +#include +#endif #ifndef M_T_DRIVER # define M_T_DRIVER 0x40 /* Supplied by the driver (EDID, etc) */