--- a/src/qt/trafficgraphwidget.cpp	2019-04-08 09:28:20.000000000 +0200
+++ b/src/qt/trafficgraphwidget.cpp	2019-04-08 09:28:20.000000000 +0200
@@ -6,6 +6,7 @@
 #include <qt/trafficgraphwidget.h>
 #include <qt/clientmodel.h>
 
+#include <QPainterPath>
 #include <QPainter>
 #include <QColor>
 #include <QTimer>
