How could I include a linux header file? I read from the web that the header file is in /usr/include
. However, the header file I need is not in that directory; it is in /usr/src/kernels/2.6.32.../include/linux/
.
I tried to include the file using the full path. However, the file itself includes other header files as well. Hence, the compiler couldn't find the other header files when I compile.
How could I include the header file in my program and compile the program?