summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2015-10-26 14:18:57 +0100
committerAndreas Schneider <asn@cryptomilk.org>2015-10-29 13:11:44 +0100
commit24bd88a65422711631a0adbce4b6f73c1e0fe772 (patch)
tree91dfcb231d96599962400903be6b29b8794c9326
parentab983da17a8fd5f1fc041b4a7d3f99fecee4c94c (diff)
downloadandroid_hardware_samsung_slsi_exynos5430-24bd88a65422711631a0adbce4b6f73c1e0fe772.tar.gz
android_hardware_samsung_slsi_exynos5430-24bd88a65422711631a0adbce4b6f73c1e0fe772.tar.xz
android_hardware_samsung_slsi_exynos5430-24bd88a65422711631a0adbce4b6f73c1e0fe772.zip
mobicore: Add missing header files
-rw-r--r--mobicore/common/LogWrapper/log.h2
-rw-r--r--mobicore/daemon/ClientLib/GP/tee_client_api.cpp4
-rw-r--r--mobicore/rootpa/Code/Android/app/jni/CommonPAWrapper/JniHelpers.cpp3
3 files changed, 9 insertions, 0 deletions
diff --git a/mobicore/common/LogWrapper/log.h b/mobicore/common/LogWrapper/log.h
index c297845..f296449 100644
--- a/mobicore/common/LogWrapper/log.h
+++ b/mobicore/common/LogWrapper/log.h
@@ -34,6 +34,8 @@
#ifndef TLCWRAPPERANDROIDLOG_H_
#define TLCWRAPPERANDROIDLOG_H_
+#include <errno.h>
+#include <string.h>
#ifndef WIN32
#include <unistd.h>
#define GETPID getpid
diff --git a/mobicore/daemon/ClientLib/GP/tee_client_api.cpp b/mobicore/daemon/ClientLib/GP/tee_client_api.cpp
index e86fa97..e036453 100644
--- a/mobicore/daemon/ClientLib/GP/tee_client_api.cpp
+++ b/mobicore/daemon/ClientLib/GP/tee_client_api.cpp
@@ -30,6 +30,10 @@
*/
#undef LOG_TAG
#define LOG_TAG "GpClient"
+
+#include <stdlib.h>
+#include <string.h>
+
#include "tee_client_api.h"
#include "log.h"
#include "MobiCoreDriverApi.h"
diff --git a/mobicore/rootpa/Code/Android/app/jni/CommonPAWrapper/JniHelpers.cpp b/mobicore/rootpa/Code/Android/app/jni/CommonPAWrapper/JniHelpers.cpp
index d01012e..e47653d 100644
--- a/mobicore/rootpa/Code/Android/app/jni/CommonPAWrapper/JniHelpers.cpp
+++ b/mobicore/rootpa/Code/Android/app/jni/CommonPAWrapper/JniHelpers.cpp
@@ -28,6 +28,9 @@ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+
+#include <string.h>
+
#include "JniHelpers.h"
#include "rootpaErrors.h"