summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-10-29 16:34:41 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2011-10-29 16:34:54 -0700
commitd9cf07a4f424b2beb844ea1b3ec5d468e79a747c (patch)
tree0950c1580e6137bfea1d32111946675cf631e450
parentf9acf37be49844bea8165be9786afe37fd999229 (diff)
Include "xf86Modes.h" for xf86ModeBandwidth
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r--src/mga_driver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mga_driver.c b/src/mga_driver.c
index 4af36ca..d9f6ea4 100644
--- a/src/mga_driver.c
+++ b/src/mga_driver.c
@@ -52,6 +52,10 @@
#include "xf86.h"
#include "xf86_OSproc.h"
+#ifdef HAVE_XF86MODEBANDWIDTH
+#include "xf86Modes.h"
+#endif
+
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6
#include "xf86Resources.h"
#include "xf86RAC.h"