summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-01-28 23:08:20 +0100
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-28 23:08:20 +0100
commitd2a4ef50acfd8487c1743818bf0d7363c8bc1e96 (patch)
tree49cfc80f1d0e78ca65f8fb9bf809b0a335e567cc
parentam 88c30fb6: am eaeb55f7: Merge "Start losing code to libadb." (diff)
parentam dab56cac: Merge "Add missing includes." (diff)
downloadandroid_bootable_recovery-d2a4ef50acfd8487c1743818bf0d7363c8bc1e96.tar
android_bootable_recovery-d2a4ef50acfd8487c1743818bf0d7363c8bc1e96.tar.gz
android_bootable_recovery-d2a4ef50acfd8487c1743818bf0d7363c8bc1e96.tar.bz2
android_bootable_recovery-d2a4ef50acfd8487c1743818bf0d7363c8bc1e96.tar.lz
android_bootable_recovery-d2a4ef50acfd8487c1743818bf0d7363c8bc1e96.tar.xz
android_bootable_recovery-d2a4ef50acfd8487c1743818bf0d7363c8bc1e96.tar.zst
android_bootable_recovery-d2a4ef50acfd8487c1743818bf0d7363c8bc1e96.zip
-rw-r--r--applypatch/bspatch.c1
-rw-r--r--asn1_decoder.cpp1
-rw-r--r--install.cpp1
-rw-r--r--verifier.cpp5
4 files changed, 6 insertions, 2 deletions
diff --git a/applypatch/bspatch.c b/applypatch/bspatch.c
index b34ec2a88..b57760eda 100644
--- a/applypatch/bspatch.c
+++ b/applypatch/bspatch.c
@@ -23,6 +23,7 @@
#include <stdio.h>
#include <sys/stat.h>
#include <errno.h>
+#include <malloc.h>
#include <unistd.h>
#include <string.h>
diff --git a/asn1_decoder.cpp b/asn1_decoder.cpp
index 7280f7480..e7aef781c 100644
--- a/asn1_decoder.cpp
+++ b/asn1_decoder.cpp
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+#include <malloc.h>
#include <stdint.h>
#include <string.h>
diff --git a/install.cpp b/install.cpp
index 9db5640a0..31606bb1a 100644
--- a/install.cpp
+++ b/install.cpp
@@ -18,6 +18,7 @@
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
+#include <string.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <unistd.h>
diff --git a/verifier.cpp b/verifier.cpp
index eeff95a59..61e5adf0b 100644
--- a/verifier.cpp
+++ b/verifier.cpp
@@ -26,9 +26,10 @@
#include "mincrypt/sha.h"
#include "mincrypt/sha256.h"
-#include <string.h>
-#include <stdio.h>
#include <errno.h>
+#include <malloc.h>
+#include <stdio.h>
+#include <string.h>
extern RecoveryUI* ui;