Re: Kernel include file

From: Neo Wee Teck
Date: Sun Dec 07 2003 - 11:22:31 EST


Hmm... wrong idea...

<new kernel>/include/linux

update to..

/usr/include/linux

Should I?


--- Mark Hahn <hahn@xxxxxxxxxxxxxxxxxxx> wrote:
> After upgrading to a newer version of the kernel, should I also copy/update the include folder to /usr/include?

no! /usr/include is userspace, which shall never use kernel headers.
the headers you find in /usr/include that *look* like kernel headers
are in fact from glibc.



_____________________________________________________________
Linux.Net -->Open Source to everyone
Powered by Linare Corporation
http://www.linare.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/