Re: kernel-headers as Build-Depends
Jonathan Dowland <jmtd@compsoc.dur.ac.uk> wrote:
> On Mon, Aug 11, 2003 at 11:19:44AM -0400, Ben Collins wrote:
>>
>> Userspace applications should not be including kernel headers. So it is
>> your bug.
>
> I do not believe that this is the case. Many of the kernel headers
> include code which may be of use to user-space applications,
> particularly for programs which interface with the kernel or kernel
> modules. Indeed, the __KERNEL__ and __MODULE__ definitions are used to
> allow just this.
Ben is absolutely right. If you include kernel headers and it
breaks, it is *your* problem.
The solution in this case is to include a copy of the said header
in the package itself.
--
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Reply to: