I installed kernel 2.6.30, I got the source and the header. I trying to use new headers present in this kernel in a C program, the problem is that I know that eclipse doesn't find this header, I know that it's in the /usr/src/linux-source-2.6.30 but not in /usr/include/, and I think that the gcc-eclipse are going to fetch it in /usr/include and not in the new kernel, so:

1) how can I change the path to indicate gcc/eclipse where the new headers are
2) If I want to compile something against a old kernel, runing other kernel how can I do it??

thank you,