libwpd: fix build for gcc12

This commit is contained in:
oreo639 2022-08-23 22:35:21 -07:00 committed by classabbyamp
parent 27bfc8d74b
commit 98920dc0a8
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
diff -rup libwpd-0.10.3.orig/src/lib/WPXTable.h libwpd-0.10.3/src/lib/WPXTable.h
--- libwpd-0.10.3.orig/src/lib/WPXTable.h 2022-08-23 22:32:45.332593795 -0700
+++ libwpd-0.10.3/src/lib/WPXTable.h 2022-08-23 22:32:59.500651211 -0700
@@ -37,6 +37,7 @@
#define _WPXTABLE_H
#include <vector>
+#include <cstddef>
struct WPXTableCell
{