diff options
Diffstat (limited to 'src/drmmode_display.c')
-rw-r--r-- | src/drmmode_display.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index b5846df1..ea2f71f4 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -41,8 +41,13 @@ #include "drmmode_display.h" /* DPMS */ +#ifdef HAVE_XEXTPROTO_71 +#include <X11/extensions/dpmsconst.h> +#else #define DPMS_SERVER #include <X11/extensions/dpms.h> +#endif + static void drmmode_ConvertFromKMode(ScrnInfoPtr scrn, |