I have a machine which came with the kernel 2.6.18, I've compiled from source a newer kernel (2.6.35) because the patches I'm working on are intended for that version.
I have several of lines like this:
Code:
#include <linux/version.h>
and
Code:
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
These values are defined in version.h but how can I tell to (or know if it) use /opt/kernel/linux-2.6.35/include/linux/version.h instead of /usr/include/linux.version.h (which is 2.6.18) ?
Or am I missing some step related to kernel upgrade ?