summaryrefslogtreecommitdiff
blob: d93bbab526c5a44a798b6dcb3c08836a750a5361 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From 9707a7a5eac25536a5150fc12d9ace52420b4d36 Mon Sep 17 00:00:00 2001
From: Martin-Éric Racine <martin-eric.racine@iki.fi>
Date: Sat, 08 Feb 2014 11:27:11 +0000
Subject: Added conditional include to fix FTBFS on xserver 1.15 and up.

Thanks to Maarten Lankhorst for the fix.
---
diff --git a/src/geode_dcon.c b/src/geode_dcon.c
index 5580c96..c2b9c53 100644
--- a/src/geode_dcon.c
+++ b/src/geode_dcon.c
@@ -29,6 +29,9 @@
 
 /* Includes that are used by all drivers */
 #include <xf86.h>
+#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,15,0,0,0)
+#include <xf86Modes.h>
+#endif
 #include <xf86_OSproc.h>
 #include <compiler.h>
 
--
cgit v0.9.0.2-2-gbebe