OCaml 5.0.0 rebuild: Fix Pervasives deprecation
[arch-packages.git] / libwpd / trunk / libwpd-gcc11.patch
blob6fcad1ea7bcf15cbe6b798f06ec37b56a0a13b0f
1 diff --git a/src/lib/WPXContentListener.cpp b/src/lib/WPXContentListener.cpp
2 index ab0f9b1..0b559e6 100644
3 --- a/src/lib/WPXContentListener.cpp
4 +++ b/src/lib/WPXContentListener.cpp
5 @@ -23,6 +23,7 @@
6 * Corel Corporation or Corel Corporation Limited."
7 */
9 +#include <cstddef>
10 #include "WPXContentListener.h"
11 #include "WPXPageSpan.h"
12 #include "libwpd_internal.h"
13 diff --git a/src/lib/WPXTable.cpp b/src/lib/WPXTable.cpp
14 index 0ad202a..3ff35e1 100644
15 --- a/src/lib/WPXTable.cpp
16 +++ b/src/lib/WPXTable.cpp
17 @@ -25,6 +25,8 @@
18 * Corel Corporation or Corel Corporation Limited."
21 +#include <cstddef>
23 #include "WPXTable.h"
25 #include "libwpd_internal.h"