diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/g80_dac.c | 5 | ||||
-rw-r--r-- | src/g80_driver.c | 5 | ||||
-rw-r--r-- | src/g80_sor.c | 5 |
3 files changed, 15 insertions, 0 deletions
diff --git a/src/g80_dac.c b/src/g80_dac.c index 404f178..307e412 100644 --- a/src/g80_dac.c +++ b/src/g80_dac.c @@ -27,8 +27,13 @@ #include <unistd.h> +#ifdef HAVE_XEXTPROTO_71 +#include <X11/extensions/dpmsconst.h> +#else #define DPMS_SERVER #include <X11/extensions/dpms.h> +#endif + #include <xf86_OSproc.h> #include "g80_type.h" diff --git a/src/g80_driver.c b/src/g80_driver.c index 5ecf895..7e06358 100644 --- a/src/g80_driver.c +++ b/src/g80_driver.c @@ -36,8 +36,13 @@ #include <micmap.h> #include <xf86cmap.h> #include <fb.h> +#ifdef HAVE_XEXTPROTO_71 +#include <X11/extensions/dpmsconst.h> +#else #define DPMS_SERVER #include <X11/extensions/dpms.h> +#endif + #include "nv_const.h" #include "g80_type.h" diff --git a/src/g80_sor.c b/src/g80_sor.c index c1ef42d..185761f 100644 --- a/src/g80_sor.c +++ b/src/g80_sor.c @@ -25,8 +25,13 @@ #include "config.h" #endif +#ifdef HAVE_XEXTPROTO_71 +#include <X11/extensions/dpmsconst.h> +#else #define DPMS_SERVER #include <X11/extensions/dpms.h> +#endif + #include <X11/Xatom.h> #include "g80_type.h" |