diff options
Diffstat (limited to 'xserver/hw/xfree86/vgahw/vgaHW.h')
-rw-r--r-- | xserver/hw/xfree86/vgahw/vgaHW.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xserver/hw/xfree86/vgahw/vgaHW.h b/xserver/hw/xfree86/vgahw/vgaHW.h index a38ea7559..be6c3edad 100644 --- a/xserver/hw/xfree86/vgahw/vgaHW.h +++ b/xserver/hw/xfree86/vgahw/vgaHW.h @@ -25,8 +25,12 @@ #include "xf86DDC.h" #include "globals.h" +#ifdef HAVE_X11_EXTENSIONS_DPMSCONST_H +#include <X11/extensions/dpmsconst.h> +#else #define DPMS_SERVER #include <X11/extensions/dpms.h> +#endif extern int vgaHWGetIndex(void); |