summaryrefslogtreecommitdiffstats
path: root/otafault/ota_io.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-09-29 02:43:53 +0200
committerTao Bao <tbao@google.com>2017-09-29 03:25:04 +0200
commitac27a7a98733ea2444eedacfd2d8dd4a384726f6 (patch)
tree05c3940cf8aaf70876471a3478a681d2df6760d8 /otafault/ota_io.cpp
parentMerge "roots: volume_for_path() parses and tries prefixes." (diff)
downloadandroid_bootable_recovery-ac27a7a98733ea2444eedacfd2d8dd4a384726f6.tar
android_bootable_recovery-ac27a7a98733ea2444eedacfd2d8dd4a384726f6.tar.gz
android_bootable_recovery-ac27a7a98733ea2444eedacfd2d8dd4a384726f6.tar.bz2
android_bootable_recovery-ac27a7a98733ea2444eedacfd2d8dd4a384726f6.tar.lz
android_bootable_recovery-ac27a7a98733ea2444eedacfd2d8dd4a384726f6.tar.xz
android_bootable_recovery-ac27a7a98733ea2444eedacfd2d8dd4a384726f6.tar.zst
android_bootable_recovery-ac27a7a98733ea2444eedacfd2d8dd4a384726f6.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;