diff -ur a/src/libsync/bandwidthmanager.h b/src/libsync/bandwidthmanager.h
--- a/src/libsync/bandwidthmanager.h	2022-05-28 11:32:35.440187894 +0000
+++ b/src/libsync/bandwidthmanager.h	2022-05-28 11:33:25.713188074 +0000
@@ -19,6 +19,7 @@
 #include <QLinkedList>
 #include <QTimer>
 #include <QIODevice>
+#include <QPainterPath>
 
 namespace OCC {