summaryrefslogtreecommitdiff
path: root/xserver/dix/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/dix/main.c')
-rw-r--r--xserver/dix/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xserver/dix/main.c b/xserver/dix/main.c
index 0527621e7..74179d8c3 100644
--- a/xserver/dix/main.c
+++ b/xserver/dix/main.c
@@ -112,7 +112,11 @@ Equipment Corporation.
#ifdef DPMSExtension
#define DPMS_SERVER
+#ifndef HAVE_X11_EXTENSIONS_DPMSCONST_H
#include <X11/extensions/dpms.h>
+#else
+#include <X11/extensions/dpmsconst.h>
+#endif
#include "dpmsproc.h"
#endif