[PATCH] Fix build without XACE

Julien Cristau jcristau at debian.org
Mon May 17 09:25:59 PDT 2010


dix/colormap.c now dereferences a ClientPtr, so it needs to include
dixstruct.h.  Regression introduced by commit
11c69880c7c48ef9e755c4e09fadef7a629d7bc7.

Reported-by: Robert Hooker <sarvatt at ubuntu.com>
Signed-off-by: Julien Cristau <jcristau at debian.org>
---
 dix/colormap.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dix/colormap.c b/dix/colormap.c
index f75eefe..12197ac 100644
--- a/dix/colormap.c
+++ b/dix/colormap.c
@@ -57,6 +57,7 @@ SOFTWARE.
 #include <strings.h>
 #include "misc.h"
 #include "dix.h"
+#include "dixstruct.h"
 #include "colormapst.h"
 #include "os.h"
 #include "scrnintstr.h"
-- 
1.7.1



More information about the xorg-devel mailing list