commit | d188b1992dc38c9c90ab53461426b87b98734f2c | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Feb 21 13:10:47 2018 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Wed Feb 21 20:41:46 2018 -0500 |
tree | 43d19e6ea1440ad229f9ad71097f0a49f7574bee | |
parent | 40ecdb6b5842f66d92c80de1565be5d8968558f5 [diff] |
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>
diff --git a/watch.cpp b/watch.cpp index 2212e01..e076450 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>