summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2018-02-21 12:51:24 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-02-21 20:43:08 -0500
commitbe9bec13989dc7224c49dc2078a545aa18a24e74 (patch)
treee25bdc22920f303aa62c04109cd2f49377d1c240
parent27df4b5f85d6d08d13aa09800cfc1fa6e8764771 (diff)
downloadphosphor-watchdog-be9bec13989dc7224c49dc2078a545aa18a24e74.tar.gz
phosphor-watchdog-be9bec13989dc7224c49dc2078a545aa18a24e74.zip
timer: Add missing functional include
std::function is not found with a GCC 7.2 runtime. Change-Id: Ic7eaf4012a2992ee4a58f2dda827f0625a9ae96f Tested: Built repository with GCC 7.2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r--timer.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/timer.hpp b/timer.hpp
index e6b0693..058740e 100644
--- a/timer.hpp
+++ b/timer.hpp
@@ -1,5 +1,6 @@
#pragma once
+#include <functional>
#include <memory>
#include <chrono>
#include <systemd/sd-event.h>
OpenPOWER on IntegriCloud