summaryrefslogtreecommitdiff
path: root/libreofficekit/qa/unit/tiledrendering.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libreofficekit/qa/unit/tiledrendering.cxx')
-rw-r--r--libreofficekit/qa/unit/tiledrendering.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/libreofficekit/qa/unit/tiledrendering.cxx b/libreofficekit/qa/unit/tiledrendering.cxx
index e28fece0d8cb..1df2eff37f54 100644
--- a/libreofficekit/qa/unit/tiledrendering.cxx
+++ b/libreofficekit/qa/unit/tiledrendering.cxx
@@ -19,8 +19,14 @@
#include <osl/file.hxx>
#include <rtl/bootstrap.hxx>
+#if defined __clang__ && defined __linux__
+#include <cxxabi.h>
#include <config_options.h>
- // see use of ENABLE_RUNTIME_OPTIMIZATIONS in LibreOfficeKintInit.h
+#if defined _LIBCPPABI_VERSION || !ENABLE_RUNTIME_OPTIMIZATIONS
+#define LOK_LOADLIB_GLOBAL
+#endif
+#endif
+
#include <LibreOfficeKit/LibreOfficeKitInit.h>
#include <LibreOfficeKit/LibreOfficeKit.hxx>
#include <LibreOfficeKit/LibreOfficeKitEnums.h>