jurt/source/pipe/staticsalhack.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 5a0ee146834fec1661051d1ad708bc3e96163af9
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Sun Feb 26 21:20:33 2023 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Sun Feb 26 22:07:57 2023 +0000

    Fix Library_jpipe__staticsalhack
    
    ...after e7bad15bc13292defd99cb561f867d8b77692e97 "Unify
    osl_{g,s}etThreadTextEncoding implementation across platforms" caused
    
    > /etc/alternatives/java_sdk_11/bin/java: symbol lookup error: 
/home/tdf/lode/jenkins/workspace/lo_ubsan/instdir/program/libjpipe.so: 
undefined symbol: osl_getThreadTextEncoding
    
    (<https://ci.libreoffice.org/job/lo_ubsan/2694/>)
    
    Change-Id: I0e309da4bc88668e4ba57b53e2a60d6074d4c124
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147744
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/jurt/source/pipe/staticsalhack.cxx 
b/jurt/source/pipe/staticsalhack.cxx
index ac83bd84fb59..fd03738f8d8d 100644
--- a/jurt/source/pipe/staticsalhack.cxx
+++ b/jurt/source/pipe/staticsalhack.cxx
@@ -35,6 +35,7 @@
 #endif
 
 #include <sal/osl/all/mutexshared.cxx>
+#include <sal/osl/all/threadshared.cxx>
 #include <sal/osl/unx/conditn.cxx>
 #include <sal/osl/unx/file.cxx>
 #include <sal/osl/unx/file_error_transl.cxx>

Reply via email to