summarylogtreecommitdiffstats
path: root/fix-gcc10-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix-gcc10-build.patch')
-rw-r--r--fix-gcc10-build.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/fix-gcc10-build.patch b/fix-gcc10-build.patch
new file mode 100644
index 00000000000..94b6dce3ac2
--- /dev/null
+++ b/fix-gcc10-build.patch
@@ -0,0 +1,12 @@
+diff --git a/sources/model.h b/sources/model.h
+index 6363c32..dc10a8c 100644
+--- a/sources/model.h
++++ b/sources/model.h
+@@ -27,6 +27,7 @@ along with qpdfview. If not, see <http://www.gnu.org/licenses/>.
+ #include <QtPlugin>
+ #include <QWidget>
+ #include <QVector>
++#include <QPainterPath>
+
+ class QAbstractItemModel;
+ class QColor;