summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-03-17 16:35:54 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-03-17 16:35:54 +0100
commitdd553d280f3dabf8b2bd01d63111206d4ccb098c (patch)
treefdbabd6f5d3db047c9b773a47880f3b25adf8fba
parentMerge "More cleanup to imgdiff & imgpatch" (diff)
parentAdd the missing #include of <functional>. (diff)
downloadandroid_bootable_recovery-dd553d280f3dabf8b2bd01d63111206d4ccb098c.tar
android_bootable_recovery-dd553d280f3dabf8b2bd01d63111206d4ccb098c.tar.gz
android_bootable_recovery-dd553d280f3dabf8b2bd01d63111206d4ccb098c.tar.bz2
android_bootable_recovery-dd553d280f3dabf8b2bd01d63111206d4ccb098c.tar.lz
android_bootable_recovery-dd553d280f3dabf8b2bd01d63111206d4ccb098c.tar.xz
android_bootable_recovery-dd553d280f3dabf8b2bd01d63111206d4ccb098c.tar.zst
android_bootable_recovery-dd553d280f3dabf8b2bd01d63111206d4ccb098c.zip
-rw-r--r--minui/events.cpp2
-rw-r--r--ui.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/minui/events.cpp b/minui/events.cpp
index fa44033d2..0e1fd44a0 100644
--- a/minui/events.cpp
+++ b/minui/events.cpp
@@ -24,6 +24,8 @@
#include <sys/ioctl.h>
#include <unistd.h>
+#include <functional>
+
#include "minui/minui.h"
#define MAX_DEVICES 16
diff --git a/ui.cpp b/ui.cpp
index 3ecd6d125..a796461c8 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>