summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2012-10-02 10:19:47 -0400
committerAdam Jackson <ajax@redhat.com>2012-10-02 10:19:47 -0400
commit42c4e423eec789606eec9703be23a9fd4483a14a (patch)
tree7305bff357698599493b6a2349d90bd536ef10d5
parent104e3e067a7dcac143cb672fe42d56396ba6087b (diff)
Fix build with neither XAA nor EXA against xserver 1.13.0
Pull in picturestr.h to get GLYPH_HAS_GLYPH_PICTURE_ACCESSOR defined before compat-api.h is parsed, otherwise you fail with: In file included from /usr/include/xorg/picturestr.h:28:0, from /usr/include/xorg/exa.h:38, from atimach64accel.h:31, from atiscreen.c:46: /usr/include/xorg/glyphstr.h:138:2: error: expected ')' before '*' token /usr/include/xorg/glyphstr.h:138:2: error: expected ')' before '(' token /usr/include/xorg/glyphstr.h:140:2: error: expected ')' before '*' token /usr/include/xorg/glyphstr.h:140:2: error: expected ')' before '(' token Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--src/atistruct.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/atistruct.h b/src/atistruct.h
index 702360b..98dc15e 100644
--- a/src/atistruct.h
+++ b/src/atistruct.h
@@ -51,6 +51,7 @@
#endif /* TV_OUT */
+#include "picturestr.h"
#ifdef USE_EXA
#include "exa.h"
#endif