diff options
author | Thierry Reding <treding@nvidia.com> | 2014-10-29 16:59:27 +0100 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-10-31 07:00:01 -0700 |
commit | 63bb5c5ef16edf652179770294dcca4fc07dc992 (patch) | |
tree | f6c152d97d1fc6b219f2404e45e4c9d33ccd5bf5 /Xext | |
parent | 882f2d10d99a04a96afc0ce0c8937e16bec3afb5 (diff) |
xv: Add missing gcstruct.h include
Commit ea3f3b0786d5 (xv: Move xf86 XV color key helper to core.) added
code that uses internals of struct _GC. This structure is defined in the
include/gcstruct.h header which wasn't included by the source file, only
gc.h was. That caused the following build failure:
CC xvmain.lo
Xext/xvmain.c: In function 'XvFillColorKey':
Xext/xvmain.c:1114:13: error: dereferencing pointer to incomplete type
(*gc->ops->PolyFillRect) (pDraw, gc, nbox, rects);
^
Fix this by including the correct header file.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Tested-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Xext')
-rw-r--r-- | Xext/xvmain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xext/xvmain.c b/Xext/xvmain.c index bc176c852..1f424402b 100644 --- a/Xext/xvmain.c +++ b/Xext/xvmain.c @@ -86,7 +86,7 @@ SOFTWARE. #include "scrnintstr.h" #include "windowstr.h" #include "pixmapstr.h" -#include "gc.h" +#include "gcstruct.h" #include "extnsionst.h" #include "extinit.h" #include "dixstruct.h" |