[PATCH] dix: explicit use ClientRec declaration from its header
Tiago Vignatti
tiago.vignatti at nokia.com
Mon May 17 11:00:39 PDT 2010
Fix "dereferencing pointer to incomplete type" errors on both colormap.c and
gc.c
Signed-off-by: Tiago Vignatti <tiago.vignatti at nokia.com>
---
I found this weird, because tinderbox seems to be okay but not my machine.
dix/colormap.c | 1 +
dix/gc.c | 1 +
2 files changed, 2 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"
diff --git a/dix/gc.c b/dix/gc.c
index 5a0d00d..c1adab5 100644
--- a/dix/gc.c
+++ b/dix/gc.c
@@ -63,6 +63,7 @@ SOFTWARE.
#include "privates.h"
#include "dix.h"
+#include "dixstruct.h"
#include "xace.h"
#include <assert.h>
--
1.6.0.4
More information about the xorg-devel
mailing list