I'm trying to compile some code in "C" via GCC (Derbian - Kali Linux), and when compiling, I get error messages saying that files like linux/linkage.h
and asm/linkage.h
could not be found. When issuing the locate linkage.h command, I have verified that such files are in a directory other than the default directory. These files are in the /usr/src/linux-headers-4.3.0-kali1-common/include/linux/linkage.h
and /usr/src/linux-headers-4.3.0-kali1-common/include/asm/linkage.h
How do I make GCC consider these directories instead of the default directories?