summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2018-02-26 09:43:41 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-02-27 17:12:24 +0000
commit35e75f0a402dd5c5e7786674bf861800ab675e0f (patch)
treebe805c3d164a28335e096d89d9928c45df2e398a
parent05a2ac3a9c9f794be8b6cea81a1d46283162b7d3 (diff)
downloadphosphor-dbus-monitor-35e75f0a402dd5c5e7786674bf861800ab675e0f.zip
phosphor-dbus-monitor-35e75f0a402dd5c5e7786674bf861800ab675e0f.tar.gz
count: Add missing functional include
std::function is not found with a GCC 7.3 runtime. Change-Id: I4e5289794d405c42ab6291c211289d1ab175b197 Tested: Built repository with GCC 7.3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r--src/count.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/count.hpp b/src/count.hpp
index bde8a91..0da0324 100644
--- a/src/count.hpp
+++ b/src/count.hpp
@@ -4,6 +4,7 @@
#include "data_types.hpp"
#include <algorithm>
+#include <functional>
namespace phosphor
{
OpenPOWER on IntegriCloud