summaryrefslogtreecommitdiff
path: root/dix/colormap.c
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2010-05-17 19:23:44 +0200
committerKeith Packard <keithp@keithp.com>2010-05-17 13:03:12 -0700
commit27cec0a0501369a68031c048e691bda4c7095f72 (patch)
treee0e1c2c68bb0adc24133add82be9ec0a61ccefe7 /dix/colormap.c
parent5a387cf6d248e3cb3337a938200ed5a09fc1d8cb (diff)
Fix build without XACE
dix/colormap.c and dix/gc.c now dereference a ClientPtr, so they need to include dixstruct.h. Regression introduced by commit 11c69880c7c48ef9e755c4e09fadef7a629d7bc7. Reported-by: Robert Hooker <sarvatt@ubuntu.com> Signed-off-by: Julien Cristau <jcristau@debian.org> Reviewed-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'dix/colormap.c')
-rw-r--r--dix/colormap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dix/colormap.c b/dix/colormap.c
index f75eefe14..12197acde 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"