summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vmwaremodes.c6
1 files changed, 6 insertions, 0 deletions
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 <xf86Modes.h>
+#endif
#ifndef M_T_DRIVER
# define M_T_DRIVER 0x40 /* Supplied by the driver (EDID, etc) */