summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-03-17 08:57:37 +0100
committerTao Bao <tbao@google.com>2017-03-17 09:00:25 +0100
commit9468fc0429cb076dc5ef7c4cda84f6efac3eb333 (patch)
treefdbabd6f5d3db047c9b773a47880f3b25adf8fba
parentMerge "More cleanup to imgdiff & imgpatch" (diff)
downloadandroid_bootable_recovery-9468fc0429cb076dc5ef7c4cda84f6efac3eb333.tar
android_bootable_recovery-9468fc0429cb076dc5ef7c4cda84f6efac3eb333.tar.gz
android_bootable_recovery-9468fc0429cb076dc5ef7c4cda84f6efac3eb333.tar.bz2
android_bootable_recovery-9468fc0429cb076dc5ef7c4cda84f6efac3eb333.tar.lz
android_bootable_recovery-9468fc0429cb076dc5ef7c4cda84f6efac3eb333.tar.xz
android_bootable_recovery-9468fc0429cb076dc5ef7c4cda84f6efac3eb333.tar.zst
android_bootable_recovery-9468fc0429cb076dc5ef7c4cda84f6efac3eb333.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>