drm.h is included by user space programs (the mesa library). Is caddr_t a both a user space and kernel type or is it kernel only? Any types have to be both user and kernel space.
ok, sorry, pilot error. caddr_t is BSDism. so the proper way would be to either use (void *) as offset, or if an integer suits better uintptr_t (which is demanded by the single unix specification 2)
cheers simon
-- /"\ \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News
PGP.sig
Description: This is a digitally signed message part