summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2024-02-08 19:38:45 +0100
committerThorsten Behrens <thorsten.behrens@allotropia.de>2024-02-09 01:36:54 +0100
commitb3fa6e6e65031f92d7f13b44f8422fe4aa07e2f9 (patch)
treeb0a3587b941a55dfa9fe6a7f61f18a3763d23182 /bridges
parent8318337c3e30075acc72fa8c9d5051c33319fdf5 (diff)
Fix missing includes
...after f93ae0455c4d515be1ca663725a6e58d64a7e393 "Check bridges with IWYU" Change-Id: I01ca7b015cb9f4fc1dbff099c52e8240e1517270 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163126 Tested-by: Thorsten Behrens <thorsten.behrens@allotropia.de> Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx4
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_x86-64/rtti.cxx1
2 files changed, 5 insertions, 0 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
index eb57c2ac92c5..14673ab7d5e2 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
@@ -35,6 +35,10 @@
#include "call.hxx"
#include "share.hxx"
+#if !ENABLE_RUNTIME_OPTIMIZATIONS
+#include "rtti.hxx"
+#endif
+
using namespace ::com::sun::star::uno;
// Perform the UNO call
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/rtti.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/rtti.cxx
index eeff17303990..adcf9da801d1 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/rtti.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/rtti.cxx
@@ -37,6 +37,7 @@
#include <o3tl/string_view.hxx>
#include "rtti.hxx"
+#include "share.hxx"
namespace {