int * backX, int * backY,
int * numBackClipRects, drm_clip_rect_t ** pBackClipRects );
+/* Test for the xf86dri.h header file */
+#ifndef _XF86DRI_H_
extern GLboolean XF86DRIDestroyContext( __DRInativeDisplay *dpy, int screen,
__DRIid context_id );
extern GLboolean XF86DRIDestroyDrawable( __DRInativeDisplay *dpy, int screen,
__DRIid drawable);
+#endif
/*@}*/
driCalculateSwapUsage( __DRIdrawablePrivate *dPriv,
int64_t last_swap_ust, int64_t current_ust );
+/* Test for the GLX header glx.h */
+#ifndef GLX
extern void
(*glXGetProcAddress(const GLubyte *procname))( void );
+#endif
#endif /* GLX_DIRECT_RENDERING */