--- DirectFB-0.9.20/gfxdrivers/matrox/matrox_maven.c.orig 2003-07-08 14:44:19.000000000 +0000 +++ DirectFB-0.9.20/gfxdrivers/matrox/matrox_maven.c 2003-11-11 18:29:42.000000000 +0000 @@ -29,6 +29,13 @@ #include #include #include +/* i2c-dev.h is broken in i2c 2.8.[01] - must include first :/ + * but is included in , which is needed too + * ...and i2c.h is broken even (MUCH!) more, because it uses internal kernel types + * inside not #ifdef __KERNEL__-ed part!!! argh!!! */ +#define __KERNEL__ +#include +#undef __KERNEL__ #include #include