[PATCH] xv: Add missing gcstruct.h include

Keith Packard keithp at keithp.com
Thu Oct 30 14:38:53 PDT 2014


Thierry Reding <thierry.reding at gmail.com> writes:

> From: Thierry Reding <treding at nvidia.com>
>
> 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);

I'm curious as to how I'm not seeing this bug?

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20141030/d7861c9d/attachment.sig>


More information about the xorg-devel mailing list