Index: lirc-0.8.3/daemons/hw_i2cuser.c =================================================================== --- lirc-0.8.3.orig/daemons/hw_i2cuser.c +++ lirc-0.8.3/daemons/hw_i2cuser.c @@ -52,8 +52,10 @@ #include #include #include -#include #include +#ifndef I2C_SLAVE /* hack */ +#include +#endif #include "hardware.h" #include "ir_remote.h"