Fixed asset_manager.h, rect_manager.h, and jni.h

1. Fixed missing #include <sys/types.h> in android/asset_manager.h for API >= 13
2. Fixed missing #include <stdint.h> in android/rect_manager.h for API >= 14
3. Added JNICALL to JNI_OnLoad and JNI_OnUnload in jni.h

Change-Id: I875ec0b6e6f7c2f433c176f0a738eb78f3c33062
This commit is contained in:
Andrew Hsieh
2014-01-08 14:10:06 +08:00
parent 365e66feaf
commit fbb32955a4
3 changed files with 6 additions and 2 deletions

View File

@@ -18,6 +18,8 @@
#ifndef ANDROID_RECT_H
#define ANDROID_RECT_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif