summaryrefslogtreecommitdiffstats
path: root/bootstat
diff options
context:
space:
mode:
authorJames Hawkins <jhawkins@google.com>2016-01-22 11:07:51 -0800
committerJames Hawkins <jhawkins@google.com>2016-01-22 11:07:51 -0800
commit5cd4bc299b9a6ab5c19c4252bc4afc7f6701497a (patch)
tree545e97cd8eeb50183dbb3fa9301357aa3c26fcfc /bootstat
parent7fc87c9bc2b10eae7f5fa08708fd613186887d92 (diff)
downloadsystem_core-5cd4bc299b9a6ab5c19c4252bc4afc7f6701497a.tar.gz
system_core-5cd4bc299b9a6ab5c19c4252bc4afc7f6701497a.tar.bz2
system_core-5cd4bc299b9a6ab5c19c4252bc4afc7f6701497a.zip
bootstat: Fix the build on git_mnc-dr1.5-dev-plus-aosp by adding missing
C++ includes Bug: 21724738 Change-Id: I27e1e8d7897302a1f2d1e4d44c226450194f1933
Diffstat (limited to 'bootstat')
-rw-r--r--bootstat/boot_event_record_store.cpp1
-rw-r--r--bootstat/event_log_list_builder.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/bootstat/boot_event_record_store.cpp b/bootstat/boot_event_record_store.cpp
index 4dab92e93..1bdcf2bac 100644
--- a/bootstat/boot_event_record_store.cpp
+++ b/bootstat/boot_event_record_store.cpp
@@ -21,6 +21,7 @@
#include <sys/stat.h>
#include <utime.h>
#include <cstdlib>
+#include <utility>
#include <android-base/file.h>
#include <android-base/logging.h>
diff --git a/bootstat/event_log_list_builder.cpp b/bootstat/event_log_list_builder.cpp
index 7eb355a82..241e3d59e 100644
--- a/bootstat/event_log_list_builder.cpp
+++ b/bootstat/event_log_list_builder.cpp
@@ -17,6 +17,7 @@
#include "event_log_list_builder.h"
#include <cinttypes>
+#include <memory>
#include <string>
#include <android-base/logging.h>
#include <log/log.h>