On Mon, Nov 25, 2002 at 09:44:46AM +0000, Keith Whitwell wrote: > >>>I think I found the problem. usleep() gets defined as a macro to xf86usleep() >>>in xf86_ansi.h (via radeon_regs.h) and needs to be #undefined. >> >> >> Do we know why xf86_ansi.h is getting included in the client-side module? >> It's only intended for X server modules. It'd be better to not include >> it in the first place. > >I think because there is some sharing of source (radeon_regs.h is from the 2d >driver). It should be protected with a #ifdef, I guess.
I'd suggest moving those includes (and the INREG/OUTREG macros that need them) to another place. Those parts can't really be shared. David ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel