File qpid-proton-0.16.0-gcc7.patch of Package qpid-proton

Index: qpid-proton-0.17.0/proton-c/bindings/cpp/include/proton/container.hpp
===================================================================
--- qpid-proton-0.17.0.orig/proton-c/bindings/cpp/include/proton/container.hpp
+++ qpid-proton-0.17.0/proton-c/bindings/cpp/include/proton/container.hpp
@@ -34,6 +34,10 @@
 #endif
 #include <string>
 
+#ifdef PN_CPP_HAS_STD_FUNCTION
+#include <functional>
+#endif
+
 namespace proton {
 
 /// A top-level container of connections, sessions, senders, and
openSUSE Build Service is sponsored by