Re: [RFC] Splitting kernel headers and deprecating __KERNEL__

Miquel van Smoorenburg
2004-12-01T00:35:24Z

In article <41ACFDAF.3040209@nortelnetworks.com>,
Chris Friesen <cfriesen@nortelnetworks.com> wrote:
>Christoph Hellwig wrote:
>
>>>b) when include/user is deemed sufficiently populated, a flag day is
>>>declared and links from /usr/include are switched to them
>>
>>
>> there are no such links, only copies (more or less modified)
>
>This may be somewhat heretical, but someone has to ask...
>
>Once include/user/foo.h is sufficiently clean and sufficiently complete, is
>there any reason to not allow such links?

It would be cleaner to use gcc -I /lib/modules/`uname -r`/build/include
so that you don't break regular compiles by accident.

Mike.