From adf90efb468836718a65424c703e4363b17e5e39 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Tue, 13 Apr 2010 19:54:47 +0000 Subject: Add a configure test for newer proto headers and use it to enable building xserver 1.6 with those headers. ok oga@. --- xserver/mi/mieq.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'xserver/mi/mieq.c') diff --git a/xserver/mi/mieq.c b/xserver/mi/mieq.c index 478e68b7e..8090c257c 100644 --- a/xserver/mi/mieq.c +++ b/xserver/mi/mieq.c @@ -56,7 +56,11 @@ in this Software without prior written authorization from The Open Group. #ifdef DPMSExtension # include "dpmsproc.h" # define DPMS_SERVER -# include +#ifndef HAVE_X11_EXTENSIONS_DPMSCONST_H +#include +#else +#include +#endif #endif #define QUEUE_SIZE 512 -- cgit v1.2.3