static/source/embindmaker/embindmaker.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 0ac30d2afdf5f076034b420432f40065ca33710a Author: Stephan Bergmann <stephan.bergm...@collabora.com> AuthorDate: Wed Jul 30 08:12:12 2025 +0200 Commit: Stephan Bergmann <stephan.bergm...@collabora.com> CommitDate: Wed Jul 30 12:20:25 2025 +0200 embindmaker-generated files should first include sal/config.h, by convention Change-Id: I9e4d843c85d45171c238e3c25c968cb5241eb82d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188575 Reviewed-by: Stephan Bergmann <stephan.bergm...@collabora.com> Tested-by: Jenkins diff --git a/static/source/embindmaker/embindmaker.cxx b/static/source/embindmaker/embindmaker.cxx index fab555cbc52e..2e37da37434d 100644 --- a/static/source/embindmaker/embindmaker.cxx +++ b/static/source/embindmaker/embindmaker.cxx @@ -1049,7 +1049,8 @@ SAL_IMPLEMENT_MAIN() std::cerr << "Cannot open \"" << cppPathname << "\" for writing "; std::exit(EXIT_FAILURE); } - cppOut << "#include <memory> " + cppOut << "#include <sal/config.h> " + "#include <memory> " "#include <emscripten/bind.h> " "#include <com/sun/star/uno/Any.hxx> " "#include <com/sun/star/uno/Reference.hxx> "