summaryrefslogtreecommitdiff
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
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>
-rw-r--r--dix/colormap.c1
-rw-r--r--dix/gc.c1
2 files changed, 2 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"
diff --git a/dix/gc.c b/dix/gc.c
index 5a0d00d5a..6281f25cd 100644
--- a/dix/gc.c
+++ b/dix/gc.c
@@ -60,6 +60,7 @@ SOFTWARE.
#include "dixfontstr.h"
#include "scrnintstr.h"
#include "region.h"
+#include "dixstruct.h"
#include "privates.h"
#include "dix.h"