external/freetype/freetype-fd-hack.patch.0 | 8 ++++++++ 1 file changed, 8 insertions(+)
New commits: commit b2c4f3804613e988b448b18d624de8c7e8983f35 Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Fri Feb 10 11:15:21 2023 +0200 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Thu Feb 23 18:32:15 2023 +0000 Avoid implicit function declaration warnings Noticed when compiling with Emscripten for WASM, but might well happen in other cases, too. Change-Id: I37ae326af21204d81a6a3267831d7a0198d1d501 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146744 Tested-by: Tor Lillqvist <t...@collabora.com> Reviewed-by: Tor Lillqvist <t...@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147531 diff --git a/external/freetype/freetype-fd-hack.patch.0 b/external/freetype/freetype-fd-hack.patch.0 index db2bdc9e92f6..c12d6739fc4c 100644 --- a/external/freetype/freetype-fd-hack.patch.0 +++ b/external/freetype/freetype-fd-hack.patch.0 @@ -1,6 +1,14 @@ # -*- Mode: Diff -*- --- src/base/ftsystem.c +++ src/base/ftsystem.c +@@ -24,6 +24,7 @@ + * + */ + ++#include <unistd.h> + + #include <ft2build.h> + #include FT_CONFIG_CONFIG_H @@ -237,6 +237,8 @@ const char* filepathname ) {