summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2018-02-21 12:57:21 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-02-21 20:42:56 -0500
commitced3592a78a74b94039871e27b8433b4342bd734 (patch)
tree42afe87da60301655c49f2e342257e2da28816e4
parent2939f18e38d4f627a80b1f513ddb1fc717ddb566 (diff)
downloadphosphor-networkd-ced3592a78a74b94039871e27b8433b4342bd734.tar.gz
phosphor-networkd-ced3592a78a74b94039871e27b8433b4342bd734.zip
types: Add missing functional include
std::function is not found with a GCC 7.2 runtime. Tested: Built repository with GCC 7.2 Change-Id: I4f122039e7708a2cb9f785210e49c7d22abb8510 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r--types.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/types.hpp b/types.hpp
index e650d3c..46ce020 100644
--- a/types.hpp
+++ b/types.hpp
@@ -2,6 +2,7 @@
#include <ifaddrs.h>
+#include <functional>
#include <list>
#include <string>
#include <vector>
OpenPOWER on IntegriCloud