external/freetype/freetype-fd-hack.patch.0 | 8 ++++++++ 1 file changed, 8 insertions(+)
New commits: commit 6d0a0e09ce0daac06bbad0c0cef3057196dbf6e0 Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Fri Feb 10 11:15:21 2023 +0200 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Fri Feb 10 14:04:47 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> 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 ) {