commit | 9468fc0429cb076dc5ef7c4cda84f6efac3eb333 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Fri Mar 17 00:57:37 2017 -0700 |
committer | Tao Bao <tbao@google.com> | Fri Mar 17 01:00:25 2017 -0700 |
tree | fdbabd6f5d3db047c9b773a47880f3b25adf8fba | |
parent | 3541934ff5a7619a79ead792da3760615eee6b01 [diff] [blame] |
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
diff --git a/ui.cpp b/ui.cpp index 3ecd6d1..a796461 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>