summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--javaunohelper/source/javaunohelper.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/javaunohelper/source/javaunohelper.cxx b/javaunohelper/source/javaunohelper.cxx
index 6d4b9907fd30..7081ecbc5538 100644
--- a/javaunohelper/source/javaunohelper.cxx
+++ b/javaunohelper/source/javaunohelper.cxx
@@ -36,6 +36,10 @@
#include "juhx-export-functions.hxx"
#include "vm.hxx"
+#ifdef DISABLE_DYNLOADING
+#include <osl/thread.h>
+#endif
+
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;