On Fri, 2009-08-21 at 17:02 +0100, Lou Otway wrote: > Hi, > > The following files: > > /linux/drivers/media/dvb/frontends/stb6100.c > /linux/drivers/media/dvb/frontends/tda10021.c > /linux/drivers/media/dvb/frontends/ves1820.c > > Fail to build with: > > error: implicit declaration of function 'DIV_ROUND_CLOSEST' > > and need the addition of: > > #include "compat.h" > > when building on my system. Is this related to my kernel version > (2.6.28) or is it something else?
DIV_ROUND_CLOSEST is probably available only in more recent kernels. When its use was added to those files, backward compatability was likely not tested. Including compat.h is the proper thing to do. Regards, Andy > Thanks, > > Lou > > -- > To unsubscribe from this list: send the line "unsubscribe linux-media" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html