summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mobicore/Android.mk3
-rw-r--r--mobicore/common/LogWrapper/log.h1
-rw-r--r--mobicore/rootpa/Code/Android/app/jni/CommonPAWrapper/JniHelpers.cpp1
3 files changed, 3 insertions, 2 deletions
diff --git a/mobicore/Android.mk b/mobicore/Android.mk
index 4152d7f..dd3c7ba 100644
--- a/mobicore/Android.mk
+++ b/mobicore/Android.mk
@@ -12,14 +12,13 @@ COMP_PATH_MobiCoreDriverMod := $(MOBICORE_PROJECT_PATH)/include
# Application wide Cflags
GLOBAL_INCLUDES := bionic \
- external/stlport/stlport \
$(COMP_PATH_MobiCore)/inc \
$(COMP_PATH_MobiCoreDriverMod)/Public \
$(COMP_PATH_MobiCore)/inc/TlCm \
$(COMP_PATH_MobiCore)/inc/GP \
$(MOBICORE_PROJECT_PATH)/common/DrSecureStorage
-GLOBAL_LIBRARIES := libstlport
+LOCAL_CXX_STL := libstlport
# Include the Daemon
include $(MOBICORE_PROJECT_PATH)/daemon/Android.mk
diff --git a/mobicore/common/LogWrapper/log.h b/mobicore/common/LogWrapper/log.h
index f296449..4b8b5e8 100644
--- a/mobicore/common/LogWrapper/log.h
+++ b/mobicore/common/LogWrapper/log.h
@@ -47,6 +47,7 @@
#ifndef WIN32
#include <android/log.h>
#endif
+#include <string.h>
/** LOG_I(fmt, args...)
* Informative logging, only shown in debug version
diff --git a/mobicore/rootpa/Code/Android/app/jni/CommonPAWrapper/JniHelpers.cpp b/mobicore/rootpa/Code/Android/app/jni/CommonPAWrapper/JniHelpers.cpp
index e47653d..f6ebfbf 100644
--- a/mobicore/rootpa/Code/Android/app/jni/CommonPAWrapper/JniHelpers.cpp
+++ b/mobicore/rootpa/Code/Android/app/jni/CommonPAWrapper/JniHelpers.cpp
@@ -33,6 +33,7 @@ OF THE POSSIBILITY OF SUCH DAMAGE.
#include "JniHelpers.h"
#include "rootpaErrors.h"
+#include <string.h>
JniHelpers::JniHelpers(JNIEnv* envP):broken_(false),
envP_(envP),