summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-07-16 11:43:33 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-07-16 11:45:39 +1000
commit965614f27d42106e859000264a6eb89d9fcba67e (patch)
tree9d7852b600d3ace8ba17cf2de4d97f64014b6eea /src
parent9caef14defaf892d957875f6d774003a036bad45 (diff)
Update to xextproto 7.1 support.
DPMS header was split into dpms.h (client) and dpmsconst.h (server). Drivers need to include dpmsconst.h if xextproto 7.1 is available. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/atimach64.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/atimach64.c b/src/atimach64.c
index c7b0ecc..e3897ea 100644
--- a/src/atimach64.c
+++ b/src/atimach64.c
@@ -63,10 +63,15 @@
#include "atimach64io.h"
#include "atirgb514.h"
+#ifdef HAVE_XEXTPROTO_71
+#include <X11/extensions/dpmsconst.h>
+#else
#ifndef DPMS_SERVER
# define DPMS_SERVER
#endif
#include <X11/extensions/dpms.h>
+#endif
+
/*
* ATIMach64PreInit --