diff options
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" |