header files not being included in JNI
I've written a java program which interfaces with some C code.In the c code i use certain functions which are defined in a header file that i include in the same c file.The problem i have ,is that the compiler shows an error when it comes across one of those functions.It seems to me that the header file is not being included.Here's what i've done at the start of the jni c code,any help will be greatly appreciated.
#include<stdio.h>
#include " mnt/cprog/ca.h"
JNIEXPORT void JNICALL......
Can other header files be included over here ,or do they have to be included from the java file?..but the problem there is that the header file is of .h extension.....any suggestions?
ps..The os is Linux
..Derick

