Me too... how to update "include" path?
I too discovered that my <linux/...> include path was wrong while compiling hello.c from LDD.
I installed base system from Debian -> 2.4.18, then immediately upgraded to 2.4.23 (I know .29 is available but I need .23 for this app); the problem is that I want to use my distro set of headers, i.e. in /usr/src/linux/include/linux
(Note: /usr/src/linux is symlink to /usr/src/linux-2.4.23)
mv /usr/include/linux /usr/include/linux-2.4.18
ln -s /usr/src/linux/include/linux /usr/include/linux?
will this break anything?
And how do I know that my newly built kernel (2.4.23) used its own include src instead of /usr/include/linux?