bffe8db
diff --git a/src/widgets/avatar.cpp b/src/widgets/avatar.cpp
bffe8db
index ba40887..b18ed60 100644
bffe8db
--- a/src/widgets/avatar.cpp
bffe8db
+++ b/src/widgets/avatar.cpp
bffe8db
@@ -23,6 +23,7 @@
bffe8db
 
bffe8db
 #include <QPaintEvent>
bffe8db
 #include <QPainter>
bffe8db
+#include <QPainterPath>
bffe8db
 #include <QDebug>
bffe8db
 
bffe8db
 #include <unistd.h>
bffe8db
diff --git a/src/widgets/miniframenavigation.cpp b/src/widgets/miniframenavigation.cpp
bffe8db
index 469d028..0bd4068 100644
bffe8db
--- a/src/widgets/miniframenavigation.cpp
bffe8db
+++ b/src/widgets/miniframenavigation.cpp
bffe8db
@@ -27,6 +27,7 @@
bffe8db
 #include <QProcess>
bffe8db
 #include <QSignalMapper>
bffe8db
 #include <QPainter>
bffe8db
+#include <QPainterPath>
bffe8db
 
bffe8db
 #include <DDesktopServices>
bffe8db
 
bffe8db
diff --git a/src/windowedframe.h b/src/windowedframe.h
bffe8db
index f677b44..4e8b05c 100644
bffe8db
--- a/src/windowedframe.h
bffe8db
+++ b/src/windowedframe.h
bffe8db
@@ -42,6 +42,7 @@
bffe8db
 #include <com_deepin_daemon_appearance.h>
bffe8db
 
bffe8db
 #include <QLabel>
bffe8db
+#include <QPainterPath>
bffe8db
 #include <memory>
bffe8db
 
bffe8db
 DWIDGET_USE_NAMESPACE