[PATCH 3/8] modesetting: xserver already checks XEXTPROTO >= 7.2.99.901.

Eric Anholt eric at anholt.net
Tue Aug 26 12:19:19 PDT 2014


---
 hw/xfree86/drivers/modesetting/drmmode_display.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c b/hw/xfree86/drivers/modesetting/drmmode_display.c
index 6964e93..31c39a2 100644
--- a/hw/xfree86/drivers/modesetting/drmmode_display.c
+++ b/hw/xfree86/drivers/modesetting/drmmode_display.c
@@ -45,13 +45,7 @@
 
 #include <cursorstr.h>
 
-/* DPMS */
-#ifdef HAVE_XEXTPROTO_71
 #include <X11/extensions/dpmsconst.h>
-#else
-#define DPMS_SERVER
-#include <X11/extensions/dpms.h>
-#endif
 #include "compat-api.h"
 
 #include "driver.h"
-- 
2.1.0



More information about the xorg-devel mailing list