diff options
Diffstat (limited to 'src/apm_driver.c')
-rw-r--r-- | src/apm_driver.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/apm_driver.c b/src/apm_driver.c index 98c02d1..f9420a3 100644 --- a/src/apm_driver.c +++ b/src/apm_driver.c @@ -12,8 +12,13 @@ #include "vbe.h" #include "opaque.h" +#ifdef HAVE_XEXTPROTO_71 +#include <X11/extensions/dpmsconst.h> +#else #define DPMS_SERVER #include <X11/extensions/dpms.h> +#endif + #define APM_VERSION 4000 #define APM_NAME "APM" |