summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2018-02-21 13:08:15 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-02-21 20:42:15 -0500
commit7861079e16fc54957b0d093c244e8b1e997aedbc (patch)
tree980d4f2081bbd0752f544534349f9236a5d6c68b
parentce910e960617d1be86f3b47a48f62f3daeb0ceba (diff)
downloadphosphor-debug-collector-7861079e16fc54957b0d093c244e8b1e997aedbc.tar.gz
phosphor-debug-collector-7861079e16fc54957b0d093c244e8b1e997aedbc.zip
timer: Add missing functional include
std::function is not found with a GCC 7.2 runtime. Change-Id: Id28ea8da225c6bae0742848ba3d379fbafcfc190 Tested: Built repository with GCC 7.2 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 98c35c4..da1ffad 100644
--- a/watch.hpp
+++ b/watch.hpp
@@ -1,6 +1,7 @@
#pragma once
#include <experimental/filesystem>
+#include <functional>
#include <systemd/sd-event.h>
#include <sys/inotify.h>
#include <map>
OpenPOWER on IntegriCloud