summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-03-17 16:43:17 +0100
committerandroid-build-merger <android-build-merger@google.com>2017-03-17 16:43:17 +0100
commit965021ab8d309246dc5fbd3296173220f99b8945 (patch)
tree744a199659d63576263bff9ae3d63fd748e45384
parentMerge "More cleanup to imgdiff & imgpatch" (diff)
parentMerge "Add the missing #include of <functional>." (diff)
downloadandroid_bootable_recovery-965021ab8d309246dc5fbd3296173220f99b8945.tar
android_bootable_recovery-965021ab8d309246dc5fbd3296173220f99b8945.tar.gz
android_bootable_recovery-965021ab8d309246dc5fbd3296173220f99b8945.tar.bz2
android_bootable_recovery-965021ab8d309246dc5fbd3296173220f99b8945.tar.lz
android_bootable_recovery-965021ab8d309246dc5fbd3296173220f99b8945.tar.xz
android_bootable_recovery-965021ab8d309246dc5fbd3296173220f99b8945.tar.zst
android_bootable_recovery-965021ab8d309246dc5fbd3296173220f99b8945.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>