Log in or register to post comments

malloc.h:38: error: expected declaration specifiers or '...' before 'size_t'

October 5, 2011 - 8:48am #1

I am been getting these errors from the NDK standard header files.

/opt/android-ndk-r6b/platforms/android-4/arch-arm/usr/include/malloc.h:
38: error: expected declaration specifiers or '...' before 'size_t'

/opt/android-ndk-r6b/platforms/android-4/arch-arm/usr/include/malloc.h:
41: error: expected ')' before 'alignment'

/opt/android-ndk-r6b/platforms/android-4/arch-arm/usr/include/string.h:
37: error: expected declaration specifiers or '...' before 'size_t'

Have anyone seen these errors before? Does that mean my include paths
got messed up somehow?

Thank you so much for your help,

Log in or register to post comments