office-gobmx/external/libwpd/include.patch
Stephan Bergmann 8d378abf1d external/libwpd: Missing include for size_t
...as now reported when building with recent trunk GCC/libstdc++ on Linux:

> In file included from WPXContentListener.cpp:26:
> In file included from ./WPXContentListener.h:29:
> ./WPXTable.h:56:31: error: unknown type name 'size_t'; did you mean 'std::size_t'?
>         const WPXTableCell  *getCell(size_t i, size_t j)
>                                      ^~~~~~
>                                      std::size_t

Change-Id: Ic20240f01c7b0305cb87ababf53a3aaf66072d61
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105324
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-11-05 10:16:30 +01:00

10 lines
171 B
Diff

--- src/lib/WPXTable.h
+++ src/lib/WPXTable.h
@@ -36,6 +36,7 @@
#ifndef _WPXTABLE_H
#define _WPXTABLE_H
+#include <stddef.h>
#include <vector>
struct WPXTableCell