diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-04-13 19:56:39 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2010-04-13 19:56:39 +0000 |
commit | d4c0bd6741860a563f9cdd8280b2d8948ffd3270 (patch) | |
tree | 01436391bdad3678da81d92a343b2d207bfe7d97 /driver/xf86-video-intel/src/ch7017 | |
parent | adf90efb468836718a65424c703e4363b17e5e39 (diff) |
Make it possible to build drivers with the newer proto headers. ok oga@.
Diffstat (limited to 'driver/xf86-video-intel/src/ch7017')
-rw-r--r-- | driver/xf86-video-intel/src/ch7017/ch7017.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/driver/xf86-video-intel/src/ch7017/ch7017.c b/driver/xf86-video-intel/src/ch7017/ch7017.c index 759fc24b0..d3b37d44b 100644 --- a/driver/xf86-video-intel/src/ch7017/ch7017.c +++ b/driver/xf86-video-intel/src/ch7017/ch7017.c @@ -39,8 +39,12 @@ #include "miscstruct.h" #include "xf86i2c.h" #include "xf86Crtc.h" +#ifdef HAVE_X11_EXTENSIONS_DPMSCONST_H +#include <X11/extensions/dpmsconst.h> +#else #define DPMS_SERVER #include <X11/extensions/dpms.h> +#endif #include "../i2c_vid.h" #include "ch7017_reg.h" |