Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9468fc04 authored by Tao Bao's avatar Tao Bao
Browse files

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
parent 3541934f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -24,6 +24,8 @@
#include <sys/ioctl.h>
#include <unistd.h>

#include <functional>

#include "minui/minui.h"

#define MAX_DEVICES 16
+1 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@
#include <time.h>
#include <unistd.h>

#include <functional>
#include <string>

#include <android-base/file.h>