diff -Naur owncloudclient-2.6.3.14058.orig/src/libsync/networkjobs.cpp owncloudclient-2.6.3.14058/src/libsync/networkjobs.cpp
--- owncloudclient-2.6.3.14058.orig/src/libsync/networkjobs.cpp	2020-06-12 14:35:04.000000000 +0200
+++ owncloudclient-2.6.3.14058/src/libsync/networkjobs.cpp	2020-06-13 11:18:28.822842347 +0200
@@ -31,6 +31,7 @@
 #include <QJsonObject>
 #ifndef TOKEN_AUTH_ONLY
 #include <QPainter>
+#include <QPainterPath>
 #endif
 
 #include "networkjobs.h"
