From 09347dfc78b7f291313057863976bf4b679362d1 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 16 Jul 2009 11:26:14 +1000 Subject: 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 --- src/apm_driver.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/apm_driver.c') diff --git a/src/apm_driver.c b/src/apm_driver.c index 98c02d1..f9420a3 100644 --- a/src/apm_driver.c +++ b/src/apm_driver.c @@ -12,8 +12,13 @@ #include "vbe.h" #include "opaque.h" +#ifdef HAVE_XEXTPROTO_71 +#include +#else #define DPMS_SERVER #include +#endif + #define APM_VERSION 4000 #define APM_NAME "APM" -- cgit v1.2.3