Added missing headers causing compile errors
authorAndroid Tools Maintainers <android-tools-devel@lists.alioth.debian.org>
Fri, 27 Jan 2023 05:43:52 +0000 (05:43 +0000)
committerRoger Shimizu <rosh@debian.org>
Fri, 27 Jan 2023 05:43:52 +0000 (05:43 +0000)
Forwarded: not-needed

Gbp-Pq: Topic libnativehelper
Gbp-Pq: Name add-missing-headers.patch

libnativehelper/JNIHelp.cpp
libnativehelper/JniInvocation.cpp

index b57ec50ed1afc43abf04513fbe93fd24fcc3ad0f..ab71d9a805c31cfb5f25421d529f3c85f7309020 100644 (file)
@@ -17,6 +17,7 @@
 #include "nativehelper/JNIHelp.h"
 
 #include <string>
+#include <cstring>
 
 #define LOG_TAG "JNIHelp"
 #include "ALog-priv.h"
index 8d0c640b87aa1a909895fe4f475a7cf84d8c33e9..59ef1da67828b66f0038b19c697020ddf4b5ea0f 100644 (file)
@@ -17,6 +17,7 @@
 #include "nativehelper/JniInvocation.h"
 
 #include <string>
+#include <cstring>
 
 #ifdef _WIN32
 #include <windows.h>