--- xf86-video-ati-9999.orig/src/radeon_dri2.c 2009-07-21 19:28:05.991981755 +0200 +++ xf86-video-ati-9999/src/radeon_dri2.c 2009-07-21 19:28:44.658636900 +0200 @@ -52,6 +52,9 @@ }; +#define DRI2BufferPtr DRI2Buffer2Ptr +#define DRI2BufferRec DRI2Buffer2Rec + #ifndef USE_DRI2_1_1_0 static DRI2BufferPtr radeon_dri2_create_buffers(DrawablePtr drawable,