diff options
Diffstat (limited to 'xserver/hw/xfree86/common/xf86Xinput.c')
-rw-r--r-- | xserver/hw/xfree86/common/xf86Xinput.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xserver/hw/xfree86/common/xf86Xinput.c b/xserver/hw/xfree86/common/xf86Xinput.c index 1f412349c..abb54bb1b 100644 --- a/xserver/hw/xfree86/common/xf86Xinput.c +++ b/xserver/hw/xfree86/common/xf86Xinput.c @@ -65,8 +65,12 @@ #include "extinit.h" #ifdef DPMSExtension +#ifdef HAVE_X11_EXTENSIONS_DPMSCONST_H +#include <X11/extensions/dpmsconst.h> +#else #define DPMS_SERVER #include <X11/extensions/dpms.h> +#endif #include "dpmsproc.h" #endif |