diff -Nrbu xf86-video-ati-6.6.1/src/radeon.h xf86-video-ati-6.6.1-OK/src/radeon.h --- xf86-video-ati-6.6.1/src/radeon.h 2006-06-16 10:17:17.000000000 +0400 +++ xf86-video-ati-6.6.1-OK/src/radeon.h 2007-02-28 15:28:02.000000000 +0300 @@ -38,8 +38,8 @@ #ifndef _RADEON_H_ #define _RADEON_H_ -#include /* For abs() */ -#include /* For usleep() */ +// #include /* For abs() */ +// #include /* For usleep() */ #include "xf86str.h" #include "compiler.h" diff -Nrbu xf86-video-ati-6.6.1/src/theatre_detect.c xf86-video-ati-6.6.1-OK/src/theatre_detect.c --- xf86-video-ati-6.6.1/src/theatre_detect.c 2006-06-16 10:17:17.000000000 +0400 +++ xf86-video-ati-6.6.1-OK/src/theatre_detect.c 2007-02-28 15:53:41.000000000 +0300 @@ -45,6 +45,10 @@ #include "theatre.h" #include "theatre_reg.h" +#undef read +#undef write +#undef ioctl + static Bool theatre_read(TheatrePtr t,CARD32 reg, CARD32 *data) { if(t->theatre_num<0)return FALSE;