summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2011-02-16 18:47:02 +0100
committerThomas Hellstrom <thellstrom@vmware.com>2011-02-16 19:50:29 +0100
commit2e5001b7e93c63c2cd25d7d8ebdee8a420c13b96 (patch)
tree7eddc28dfc481e2f59f5edaa996e61dd7c8bebc5 /src
parentb3c244ebd7899a66aa401d2d7b0ddc66ee56e6d7 (diff)
vmwlegacy: Add a missing include
The test for Xserver >= 1.2 in the affected file was always failing. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Michel Dänzer <daenzer@vmware.com>
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) */