[PATCH] xextproto 7.1 support update to the source code
Kevin Brace
kevinbrace at gmx.com
Thu Mar 17 01:59:23 UTC 2016
While the compilation script was updated, for some reason, the source
code did not get the update.
Signed-off-by: Kevin Brace <kevinbrace at gmx.com>
---
src/r128_crtc.c | 6 ++++++
src/r128_output.c | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/src/r128_crtc.c b/src/r128_crtc.c
index d62cc6a..ed77492 100644
--- a/src/r128_crtc.c
+++ b/src/r128_crtc.c
@@ -35,7 +35,13 @@
#include "xf86.h"
#include "xf86Modes.h"
+
+#ifdef HAVE_XEXTPROTO_71
#include "X11/extensions/dpmsconst.h"
+#else
+#define DPMS_SERVER
+#include "X11/extensions/dpms.h"
+#endif
#include "r128.h"
#include "r128_probe.h"
diff --git a/src/r128_output.c b/src/r128_output.c
index a2c754b..73b4af2 100644
--- a/src/r128_output.c
+++ b/src/r128_output.c
@@ -35,7 +35,13 @@
#include "xf86.h"
#include "xf86Modes.h"
+
+#ifdef HAVE_XEXTPROTO_71
#include "X11/extensions/dpmsconst.h"
+#else
+#define DPMS_SERVER
+#include "X11/extensions/dpms.h"
+#endif
#include "r128.h"
#include "r128_probe.h"
--
1.7.9.5
More information about the xorg-driver-ati
mailing list