summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2018-02-21 12:54:07 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-02-21 20:42:24 -0500
commitfd8c02d6e6ec383528e30b5d6848482599abbe3a (patch)
tree30500c0e9ad214367a346fcb58098f55db56c34d
parent204e1e74691a05b523b2b5c98c1dae88dd865e10 (diff)
downloadphosphor-bmc-code-mgmt-fd8c02d6e6ec383528e30b5d6848482599abbe3a.tar.gz
phosphor-bmc-code-mgmt-fd8c02d6e6ec383528e30b5d6848482599abbe3a.zip
watch: Add missing functional include
std::function is not found with a GCC 7.2 runtime. Tested: Built repository with GCC 7.2 Change-Id: Ie139a8897aea4036c1159bebb03c3b446fb23687 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r--watch.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/watch.hpp b/watch.hpp
index 99854b7..f7eb695 100644
--- a/watch.hpp
+++ b/watch.hpp
@@ -1,5 +1,6 @@
#pragma once
+#include <functional>
#include <systemd/sd-event.h>
namespace phosphor
OpenPOWER on IntegriCloud