The error messages pointed to the bad code, there was another one that came up after I made the first to changes that was about the firegl_public.c file that showed a similar error.
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `agp_generic_alloc_page':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:1405: error: structure has no member named `count'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `ali_alloc_page':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:4416: error: structure has no member named `count'
I found what to change the name to on a thread from the linux mailing list here:
http://www.uwsg.iu.edu/hypermail/lin...05.2/1095.html