summaryrefslogtreecommitdiffstats
path: root/cppu
diff options
context:
space:
mode:
Diffstat (limited to 'cppu')
-rw-r--r--cppu/source/uno/lbenv.cxx4
-rw-r--r--cppu/source/uno/lbmap.cxx4
2 files changed, 8 insertions, 0 deletions
diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx
index 7ad96d5a9110..9e9de7655041 100644
--- a/cppu/source/uno/lbenv.cxx
+++ b/cppu/source/uno/lbenv.cxx
@@ -17,6 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#ifdef DISABLE_DYNLOADING
+#include <config_java.h>
+#endif
+
#include <cppu/EnvDcp.hxx>
#include <sal/log.hxx>
diff --git a/cppu/source/uno/lbmap.cxx b/cppu/source/uno/lbmap.cxx
index bba5756c0bd5..54852a63082f 100644
--- a/cppu/source/uno/lbmap.cxx
+++ b/cppu/source/uno/lbmap.cxx
@@ -17,6 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#ifdef DISABLE_DYNLOADING
+#include <config_java.h>
+#endif
+
#include "IdentityMapping.hxx"
#include <cassert>