Bug: https://bugs.gentoo.org/645392

--- a/src/common/davjob.cpp
+++ b//src/common/davjob.cpp
@@ -20,6 +20,8 @@
 
 #include "daverror.h"
 
+#include <QDebug>
+
 using namespace KDAV2;
 
 class DavJobPrivate {