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
This commit is contained in:
Tao Bao 2017-03-17 00:57:37 -07:00
parent 3541934ff5
commit 9468fc0429
2 changed files with 3 additions and 0 deletions

View file

@ -24,6 +24,8 @@
#include <sys/ioctl.h>
#include <unistd.h>
#include <functional>
#include "minui/minui.h"
#define MAX_DEVICES 16

1
ui.cpp
View file

@ -30,6 +30,7 @@
#include <time.h>
#include <unistd.h>
#include <functional>
#include <string>
#include <android-base/file.h>