This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
I want to include header files from /usr/src/linux/include because I want to compile a module. I use the gcc -I option. It include header files from the correct path but the header files alse include header files , and those header files are included from /usr/include which is my common include path. I don't know how to fix it , can anyone help me ?
#include <kinclude/linux/foobar.h> #include <kinclude/asm/foobar.h>
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |