summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRALOVICH, Kristóf <tade60@freemail.hu>2009-07-05 16:42:54 +0200
committerTiago Vignatti <tiago.vignatti@nokia.com>2009-07-06 17:57:27 +0300
commit73abdc94c3cceadeda26a9b6bd3cdfecf0df8db2 (patch)
tree9aab81c740b01a0706122109d9bbfb9abbbcdd7d
parent7208a0f032d487bd3bc9809800f4557f1da1e2db (diff)
glx: damage is only used with DRI
Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
-rw-r--r--glx/glxdrawable.h2
-rw-r--r--glx/glxdri.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/glx/glxdrawable.h b/glx/glxdrawable.h
index 0215b3b20..3f165ed4f 100644
--- a/glx/glxdrawable.h
+++ b/glx/glxdrawable.h
@@ -35,8 +35,6 @@
* Silicon Graphics, Inc.
*/
-#include <damage.h>
-
/* We just need to avoid clashing with DRAWABLE_{WINDOW,PIXMAP} */
enum {
GLX_DRAWABLE_WINDOW,
diff --git a/glx/glxdri.c b/glx/glxdri.c
index 5fb75a41f..c9d226bdf 100644
--- a/glx/glxdri.c
+++ b/glx/glxdri.c
@@ -38,6 +38,7 @@
#include <windowstr.h>
#include <os.h>
+#include <damage.h>
#define _XF86DRI_SERVER_
#include <drm_sarea.h>