summaryrefslogtreecommitdiff
path: root/driver/xf86-video-ati/src/atombios_crtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/xf86-video-ati/src/atombios_crtc.c')
-rw-r--r--driver/xf86-video-ati/src/atombios_crtc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/driver/xf86-video-ati/src/atombios_crtc.c b/driver/xf86-video-ati/src/atombios_crtc.c
index 31c032baf..9bc1ad2f0 100644
--- a/driver/xf86-video-ati/src/atombios_crtc.c
+++ b/driver/xf86-video-ati/src/atombios_crtc.c
@@ -33,8 +33,12 @@
#include "config.h"
#endif
/* DPMS */
+#ifdef HAVE_X11_EXTENSIONS_DPMSCONST_H
+#include <X11/extensions/dpmsconst.h>
+#else
#define DPMS_SERVER
#include <X11/extensions/dpms.h>
+#endif
#include "radeon.h"
#include "radeon_reg.h"