summaryrefslogtreecommitdiffstats
path: root/cppu
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2019-01-29 15:59:14 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-01-29 15:59:56 +0100
commitadca0b98c63a4365eb83664b3254eaa828a1ca14 (patch)
treef2366419a5ff8c4f942c589567a66d20281af399 /cppu
parentResolves: tdf#110429 width of page number wider than traditional width (diff)
downloadcore-adca0b98c63a4365eb83664b3254eaa828a1ca14.tar.gz
core-adca0b98c63a4365eb83664b3254eaa828a1ca14.zip
cppu: fix Android build
By restoring includes which are still needed, conditionally. Change-Id: Icc331c7d6a084af7d93b941ea879f0c60b9ca9f3
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>