From: Gerhard Gappmeier Date: Thu, 8 Nov 2018 17:17:29 +0000 (+0100) Subject: libsync: Fix build error with TOKEN_AUTH_ONLY X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~21^2~468^2~429 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b3792ac1f0d458d425cc36939ed1b9275d2a0b61;p=nextcloud-desktop.git libsync: Fix build error with TOKEN_AUTH_ONLY When enabling TOKEN_AUTH_ONLY, the code path using QPainter is disabled. So we also don't need the includes. This header is not available for Remarkable. --- diff --git a/src/libsync/networkjobs.cpp b/src/libsync/networkjobs.cpp index ccedf4d28..18f9097e3 100644 --- a/src/libsync/networkjobs.cpp +++ b/src/libsync/networkjobs.cpp @@ -30,8 +30,10 @@ #include #include #include +#ifndef TOKEN_AUTH_ONLY #include #include +#endif #include "networkjobs.h" #include "account.h"