I changed AudioPlayer.c by switching the order of the include files to be: files.h jni.h defs.h jsyscall.h support.h