From fb0b2f5f8411f255e25e0d362701adc35681b909 Mon Sep 17 00:00:00 2001 From: naddy Date: Sat, 15 May 2010 20:10:58 +0000 Subject: [PATCH] Make it possible to build driver with the newer proto headers; from matthieu@ --- driver/xf86-video-sunffb/src/ffb.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/driver/xf86-video-sunffb/src/ffb.h b/driver/xf86-video-sunffb/src/ffb.h index ea1b7fc98..b8d0bc936 100644 --- a/driver/xf86-video-sunffb/src/ffb.h +++ b/driver/xf86-video-sunffb/src/ffb.h @@ -39,10 +39,14 @@ #include "ffb_regs.h" #include "xf86sbusBus.h" #include "ffb_dac.h" +#ifdef HAVE_X11_EXTENSIONS_DPMSCONST_H +#include +#else #ifndef DPMS_SERVER #define DPMS_SERVER #endif /* DPMS_SERVER */ #include +#endif /* Various offsets in virtual (ie. mmap()) spaces Linux and Solaris support. */