From 60064c665ec98a2a994fc6c8ad701e60b963ce7e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 11 Feb 2017 08:36:24 +0100 Subject: qt: Add missing #include * lang/qt/src/qgpgmenewcryptoconfig.cpp, lang/qt/src/threadedjobmixin.h: Include functional. -- With GCC 7.0, functional is not included transitively and we get: In file included from qgpgmedeletejob.h:39:0, from qgpgmedeletejob.cpp:38: threadedjobmixin.h:98:33: error: 'function' in namespace 'std' does not name a template type void setFunction(const std::function &function) ^~~~~~~~ std::{function,bind,placeholders,mem_fn} are defined in functional. References: https://bugzilla.redhat.com/show_bug.cgi?id=1417383 Signed-off-by: Igor Gnatenko GnuPG-Bug-Id: 2955 Commit Message amended by Andre Heinecke Signed-off-by: Andre Heinecke --- lang/qt/src/qgpgmenewcryptoconfig.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lang/qt/src/qgpgmenewcryptoconfig.cpp') diff --git a/lang/qt/src/qgpgmenewcryptoconfig.cpp b/lang/qt/src/qgpgmenewcryptoconfig.cpp index 4738a03b..6901eef1 100644 --- a/lang/qt/src/qgpgmenewcryptoconfig.cpp +++ b/lang/qt/src/qgpgmenewcryptoconfig.cpp @@ -49,6 +49,7 @@ #include #include #include +#include using namespace QGpgME; using namespace GpgME; -- cgit v1.2.3