summaryrefslogtreecommitdiffstats
path: root/otafault/ota_io.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-09-29 19:59:00 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-09-29 19:59:00 +0200
commitb5dfc86eafef10c73904e161b604285e6346468e (patch)
tree32f0aa2fb44059a6e8ea60ac5699f7f076138280 /otafault/ota_io.cpp
parentMerge "Integer overflow observed while formatting volume" am: 846f307c6f am: 4a20e8b68f (diff)
parentMerge "otafault: Clean up header inclusion." am: d9373cf621 (diff)
downloadandroid_bootable_recovery-b5dfc86eafef10c73904e161b604285e6346468e.tar
android_bootable_recovery-b5dfc86eafef10c73904e161b604285e6346468e.tar.gz
android_bootable_recovery-b5dfc86eafef10c73904e161b604285e6346468e.tar.bz2
android_bootable_recovery-b5dfc86eafef10c73904e161b604285e6346468e.tar.lz
android_bootable_recovery-b5dfc86eafef10c73904e161b604285e6346468e.tar.xz
android_bootable_recovery-b5dfc86eafef10c73904e161b604285e6346468e.tar.zst
android_bootable_recovery-b5dfc86eafef10c73904e161b604285e6346468e.zip
Diffstat (limited to 'otafault/ota_io.cpp')
-rw-r--r--otafault/ota_io.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/otafault/ota_io.cpp b/otafault/ota_io.cpp
index faae5275d..a82a7ee59 100644
--- a/otafault/ota_io.cpp
+++ b/otafault/ota_io.cpp
@@ -18,15 +18,17 @@
#include <errno.h>
#include <fcntl.h>
+#include <stdint.h>
#include <stdio.h>
#include <sys/stat.h>
+#include <sys/types.h>
#include <unistd.h>
#include <map>
-#include <memory>
#include <mutex>
#include <android-base/thread_annotations.h>
+
#include "config.h"
static std::mutex filename_mutex;