[Mesa-dev] [PATCH] st/dri: include xmlconfig.h

nobled nobled at dreamwidth.org
Sat Aug 7 05:40:26 PDT 2010


driOptionCache is a member of struct dri_context, but it's defined in
xmlconfig.h, which isn't getting included in drisw. The patch fixes
this error when defining struct dri_context under drisw:

../../../../../src/gallium/state_trackers/dri/common/dri_context.h:52:
error: expected specifier-qualifier-list before 'driOptionCache'

 (the error was also making all later members of the struct get
completely ignored, causing weird " 'struct dri_context' has no member
named 'st'" errors)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004b-st-dri-include-xmlconfig.h.patch
Type: text/x-patch
Size: 922 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100807/03228cee/attachment.bin>


More information about the mesa-dev mailing list