In
android-ndk-r9c-linux-x86_64 when including the file android/asset_manager.h I get some errors mainly about:
/opt/android-ndk-r9c/platforms/android-14/arch-arm/usr/include/android/asset_manager.h:161:67: error: 'off64_t' has not been declared
The errors go away when I manually add the line
#include <sys/types.h>
at the beginning of android/asset_manager.h.
I also noticed that previous ndk revisions mainly ndk-r9 had this line, and it has only been removed in ndk-r9c - or ndk-r9b I am not sure-.
Is this a bug in ndk-r9c or there exists a solution to this problem that I am unaware of?