summaryrefslogtreecommitdiff
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 43c385bed20a..a5f0cbcf3144 100644
--- a/javaunohelper/source/javaunohelper.cxx
+++ b/javaunohelper/source/javaunohelper.cxx
@@ -40,6 +40,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;