summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vermilion.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vermilion.c b/src/vermilion.c
index 6686b59..03f77b6 100644
--- a/src/vermilion.c
+++ b/src/vermilion.c
@@ -59,8 +59,13 @@
#include "xf86cmap.h"
/* DPMS */
+#ifdef HAVE_XEXTPROTO_71
+#include <X11/extensions/dpmsconst.h>
+#else
#define DPMS_SERVER
#include <X11/extensions/dpms.h>
+#endif
+
#include "xf86Priv.h"
#define KERNELNAME "Vermilion Range"