summaryrefslogtreecommitdiffstats
path: root/certmanager
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-06-14 04:01:19 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-06-14 04:02:43 +0200
commitae9fde72adecd2ca03f9d4ff55fc30fef5a09afb (patch)
tree66c9e8436960898ef128ae852ed031cef84dc054 /certmanager
parent3c3dfdfd7ffbd59bc1f089d6f57b179889f57ac8 (diff)
downloadtdepim-ae9fde72adecd2ca03f9d4ff55fc30fef5a09afb.tar.gz
tdepim-ae9fde72adecd2ca03f9d4ff55fc30fef5a09afb.zip
Fix FTBFS with clang
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 4554b6c6fb200addc5fbc833df4f42a65070cdd9)
Diffstat (limited to 'certmanager')
-rw-r--r--certmanager/lib/backends/qgpgme/qgpgmejob.cpp1
-rw-r--r--certmanager/lib/backends/qgpgme/qgpgmesignjob.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/certmanager/lib/backends/qgpgme/qgpgmejob.cpp b/certmanager/lib/backends/qgpgme/qgpgmejob.cpp
index 6912bb49b..7f08aa29b 100644
--- a/certmanager/lib/backends/qgpgme/qgpgmejob.cpp
+++ b/certmanager/lib/backends/qgpgme/qgpgmejob.cpp
@@ -55,6 +55,7 @@
#include <algorithm>
#include <assert.h>
+#include <stdlib.h>
#include <string.h>
namespace {
diff --git a/certmanager/lib/backends/qgpgme/qgpgmesignjob.cpp b/certmanager/lib/backends/qgpgme/qgpgmesignjob.cpp
index 032514cd3..eda519b12 100644
--- a/certmanager/lib/backends/qgpgme/qgpgmesignjob.cpp
+++ b/certmanager/lib/backends/qgpgme/qgpgmesignjob.cpp
@@ -49,6 +49,7 @@
#include <tdelocale.h>
#include <assert.h>
+#include <stdlib.h>
Kleo::QGpgMESignJob::QGpgMESignJob( GpgME::Context * context )
: SignJob( QGpgME::EventLoopInteractor::instance(), "Kleo::QGpgMESignJob" ),