aboutsummaryrefslogtreecommitdiff
path: root/update_verifier
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-03-13 15:30:13 -0700
committerTao Bao <tbao@google.com>2019-03-13 15:45:39 -0700
commitc89c394b46832ea32625d11358efa3e587461765 (patch)
tree6dc2b8abe0ce4831ca9bf8bf6737ef9a6c55720f /update_verifier
parentfc7a0dc3a2c8d7f985d65fba1e69bec57736c6a7 (diff)
update_verifier: Add some missing #include's.
<stdint.h> for uint8_t; <stdlib.h> for free(3); <thread> for std::thread. Test: mmma -j bootable/recovery Test: Run unit tests on crosshatch. Change-Id: Id99b29b3d514f4e453983599c8b1aa6b0fab4ef8
Diffstat (limited to 'update_verifier')
-rw-r--r--update_verifier/update_verifier.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/update_verifier/update_verifier.cpp b/update_verifier/update_verifier.cpp
index 5e5eac7a..ce93a467 100644
--- a/update_verifier/update_verifier.cpp
+++ b/update_verifier/update_verifier.cpp
@@ -38,17 +38,19 @@
*/
#include "update_verifier/update_verifier.h"
-#include <android/os/IVold.h>
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
+#include <stdint.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <algorithm>
#include <future>
+#include <thread>
#include <android-base/file.h>
#include <android-base/logging.h>
@@ -57,6 +59,7 @@
#include <android-base/strings.h>
#include <android-base/unique_fd.h>
#include <android/hardware/boot/1.0/IBootControl.h>
+#include <android/os/IVold.h>
#include <binder/BinderService.h>
#include <binder/Status.h>
#include <cutils/android_reboot.h>