fastcgipp/include/fastcgi++/fcgistreambuf.hpp:73:28: error: «function» in namespace «std» does not name a template type
const std::function<void(const Socket&, std::vector<char>&&)>
patch:
diff --git a/include/fastcgi++/fcgistreambuf.hpp b/include/fastcgi++/fcgistreambuf.hpp
index 6436d07..1f4b3a8 100644
--- a/include/fastcgi++/fcgistreambuf.hpp
+++ b/include/fastcgi++/fcgistreambuf.hpp
@@ -34,6 +34,7 @@
#include "fastcgi++/block.hpp"
#include <istream>
+#include <functional>
//! Topmost namespace for the fastcgi++ library
namespace Fastcgipp
Compilation error with gcc 7.1.1
patch: