aboutsummaryrefslogtreecommitdiffstats
path: root/ui.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-03-17 00:57:37 -0700
committerTao Bao <tbao@google.com>2017-03-17 01:00:25 -0700
commit9468fc0429cb076dc5ef7c4cda84f6efac3eb333 (patch)
treefdbabd6f5d3db047c9b773a47880f3b25adf8fba /ui.cpp
parent3541934ff5a7619a79ead792da3760615eee6b01 (diff)
downloadandroid_bootable_recovery-9468fc0429cb076dc5ef7c4cda84f6efac3eb333.tar.gz
android_bootable_recovery-9468fc0429cb076dc5ef7c4cda84f6efac3eb333.tar.bz2
android_bootable_recovery-9468fc0429cb076dc5ef7c4cda84f6efac3eb333.zip
Add the missing #include of <functional>.
For the use of std::function and std::bind. They were relying on the transitive inclusion from <minui/minui.h>. Test: mmma bootable/recovery Change-Id: Ia138e1cbdd035b11d6cdca9e16c5591303b6ee13
Diffstat (limited to 'ui.cpp')
-rw-r--r--ui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.cpp b/ui.cpp
index 3ecd6d12..a796461c 100644
--- a/ui.cpp
+++ b/ui.cpp
@@ -30,6 +30,7 @@
#include <time.h>
#include <unistd.h>
+#include <functional>
#include <string>
#include <android-base/file.h>