summaryrefslogtreecommitdiff
path: root/hw/xfree86/common/xf86VidMode.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/common/xf86VidMode.c')
-rw-r--r--hw/xfree86/common/xf86VidMode.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/xfree86/common/xf86VidMode.c b/hw/xfree86/common/xf86VidMode.c
index 1b2b63bbf..ec371f299 100644
--- a/hw/xfree86/common/xf86VidMode.c
+++ b/hw/xfree86/common/xf86VidMode.c
@@ -35,6 +35,10 @@
* maintained.
*/
+#ifdef HAVE_XORG_CONFIG_H
+#include <xorg-config.h>
+#endif
+
#include <X11/X.h>
#include <X11/os.h>
#include "xf86.h"