[Glamor] [PATCH] glamor_xv: add missing include

Chí-Thanh Christopher Nguyễn chithanh at gentoo.org
Tue Apr 1 06:43:30 PDT 2014


glamor_xv.c uses DamageDamageRegion but does not include xorg/damage.h. This
causes the build to fail if 9b8217f9ef6279fff6628631d18497bed0343ef9 is not
present in the X server.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75466
Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=499442
Signed-off-by: Chí-Thanh Christopher Nguyễn <chithanh at gentoo.org>
---
 src/glamor_xv.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/glamor_xv.c b/src/glamor_xv.c
index a89b4cd..b40b6e8 100644
--- a/src/glamor_xv.c
+++ b/src/glamor_xv.c
@@ -37,6 +37,7 @@
 #ifdef GLAMOR_XV
 #include "xf86xv.h"
 #include <X11/extensions/Xv.h>
+#include <xorg/damage.h>
 #include "fourcc.h"
 /* Reference color space transform data */
 typedef struct tagREF_TRANSFORM
-- 
1.8.3.2



More information about the Glamor mailing list