summaryrefslogtreecommitdiffstats
path: root/otafault/ota_io.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-09-30 10:16:07 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-09-30 10:16:07 +0200
commitdcced3b73dbed8cd335abc63eef3988f4c92304f (patch)
tree40349fc60837486463f30cb4fba26f5491f0288e /otafault/ota_io.cpp
parentrelease-request-fbd98711-169e-4972-a5f2-db043df00e09-for-git_pi-release-4367572 snap-temp-L13500000107248413 (diff)
parentMerge "otafault: Move to soong." am: 475794a9af am: 2812e5d16b am: 3af1827bb5 (diff)
downloadandroid_bootable_recovery-dcced3b73dbed8cd335abc63eef3988f4c92304f.tar
android_bootable_recovery-dcced3b73dbed8cd335abc63eef3988f4c92304f.tar.gz
android_bootable_recovery-dcced3b73dbed8cd335abc63eef3988f4c92304f.tar.bz2
android_bootable_recovery-dcced3b73dbed8cd335abc63eef3988f4c92304f.tar.lz
android_bootable_recovery-dcced3b73dbed8cd335abc63eef3988f4c92304f.tar.xz
android_bootable_recovery-dcced3b73dbed8cd335abc63eef3988f4c92304f.tar.zst
android_bootable_recovery-dcced3b73dbed8cd335abc63eef3988f4c92304f.zip
Diffstat (limited to 'otafault/ota_io.cpp')
-rw-r--r--otafault/ota_io.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/otafault/ota_io.cpp b/otafault/ota_io.cpp
index faae5275d..1308973a5 100644
--- a/otafault/ota_io.cpp
+++ b/otafault/ota_io.cpp
@@ -14,20 +14,22 @@
* limitations under the License.
*/
-#include "ota_io.h"
+#include "otafault/ota_io.h"
#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"
+
+#include "otafault/config.h"
static std::mutex filename_mutex;
static std::map<intptr_t, const char*> filename_cache GUARDED_BY(filename_mutex);