[linux-dvb] Re: [linuxtv-cvs] dvb-kernel

C.Y.M syphir at syphir.sytes.net
Sun Oct 2 03:28:26 CEST 2005


C.Y.M wrote:
> Michael Krufky via CVS wrote:
> 
>>CVSROOT:	/cvs/linuxtv
>>Module name:	dvb-kernel
>>Changes by:	mkrufky	20051001 19:01:45
>>
>>Modified files:
>>	linux/drivers/media/common: saa7146_i2c.c 
>>	linux/drivers/media/dvb/bt8xx: dvb-bt8xx.c 
>>Added files:
>>	build-2.6      : compat.h 
>>
>>Log message:
>>Add compat.h for backwards compatability
> 
> 
> Should compat.h be added to build-2.6?  If we use the ./makelinks build method,
> then compat.h would not be found.
> 

How about including the header with ifdefs?  That way it stays out unless needed?

#if (LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,13))
#include "compat.h"
#endif



More information about the linux-dvb mailing list