diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-02-21 13:10:47 -0500 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-02-21 20:41:46 -0500 |
commit | d188b1992dc38c9c90ab53461426b87b98734f2c (patch) | |
tree | 43d19e6ea1440ad229f9ad71097f0a49f7574bee | |
parent | 40ecdb6b5842f66d92c80de1565be5d8968558f5 (diff) | |
download | openpower-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.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,6 +1,7 @@ #include <stdexcept> #include <cstddef> #include <cstring> +#include <functional> #include <string> #include <sys/inotify.h> #include <unistd.h> |