--- librecad/src/lib/gui/rs_painterqt.cpp.orig	2020-05-21 10:23:28 UTC
+++ librecad/src/lib/gui/rs_painterqt.cpp
@@ -25,6 +25,7 @@
 **********************************************************************/
 
 #include<cmath>
+#include<QPainterPath>
 #include "rs_painterqt.h"
 #include "rs_math.h"
 #include "rs_debug.h"
