--- a/src/glx/dri_common.h +++ b/src/glx/dri_common.h @@ -57,6 +57,10 @@ extern struct glx_config *driConvertConf extern void driDestroyConfigs(const __DRIconfig **configs); +#ifndef __GLXDRIdrawable +typedef struct __GLXDRIdrawableRec __GLXDRIdrawable; +#endif + extern __GLXDRIdrawable * driFetchDrawable(struct glx_context *gc, GLXDrawable glxDrawable);