I'm compiling a kernel module and I'm including <asm/unistd.h>
, but I'm not sure if the compiler is using the unistd.h
from /usr/includes/
(wrong) or the one from /usr/src/kernel-3.x.x/arch/x86/includes/
(right).
My question is: How can I check which one of those two is the compiler using?
And also, is there a way to force the file from the kernel headers instead of the one from /usr/include
?