summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2018-02-21 13:10:47 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-02-21 20:41:46 -0500
commitd188b1992dc38c9c90ab53461426b87b98734f2c (patch)
tree43d19e6ea1440ad229f9ad71097f0a49f7574bee
parent40ecdb6b5842f66d92c80de1565be5d8968558f5 (diff)
downloadopenpower-pnor-code-mgmt-d188b1992dc38c9c90ab53461426b87b98734f2c.tar.gz
openpower-pnor-code-mgmt-d188b1992dc38c9c90ab53461426b87b98734f2c.zip
watch: Add missing functional include
std::function is not found with a GCC 7.2 runtime. Change-Id: I6b1383703a3b741ed0e72ce3ea33bf44aed48f60 Tested: Built repository with GCC 7.2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r--watch.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/watch.cpp b/watch.cpp
index 2212e01a3..e076450d5 100644
--- a/watch.cpp
+++ b/watch.cpp
@@ -1,6 +1,7 @@
#include <stdexcept>
#include <cstddef>
#include <cstring>
+#include <functional>
#include <string>
#include <sys/inotify.h>
#include <unistd.h>
OpenPOWER on IntegriCloud