summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-03-17 16:55:49 +0100
committerandroid-build-merger <android-build-merger@google.com>2017-03-17 16:55:49 +0100
commitedc96fdc44f4dffe8a8ffbab21e57e82f1582fd2 (patch)
tree56d657b27d3a0f9eaf42df96a8eeaeed5dca2d4c
parentMerge "More cleanup to imgdiff & imgpatch" am: 3541934ff5 am: 91f8574061 (diff)
parentMerge "Add the missing #include of <functional>." am: dd553d280f (diff)
downloadandroid_bootable_recovery-edc96fdc44f4dffe8a8ffbab21e57e82f1582fd2.tar
android_bootable_recovery-edc96fdc44f4dffe8a8ffbab21e57e82f1582fd2.tar.gz
android_bootable_recovery-edc96fdc44f4dffe8a8ffbab21e57e82f1582fd2.tar.bz2
android_bootable_recovery-edc96fdc44f4dffe8a8ffbab21e57e82f1582fd2.tar.lz
android_bootable_recovery-edc96fdc44f4dffe8a8ffbab21e57e82f1582fd2.tar.xz
android_bootable_recovery-edc96fdc44f4dffe8a8ffbab21e57e82f1582fd2.tar.zst
android_bootable_recovery-edc96fdc44f4dffe8a8ffbab21e57e82f1582fd2.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>