summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"