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/minui/events.cpp b/minui/events.cpp index fa44033..0e1fd44 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