diff options
Diffstat (limited to 'sal/osl/unx/module.c')
-rw-r--r-- | sal/osl/unx/module.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sal/osl/unx/module.c b/sal/osl/unx/module.c index bddf390fdcaa..b88080b31219 100644 --- a/sal/osl/unx/module.c +++ b/sal/osl/unx/module.c @@ -44,7 +44,7 @@ #endif #ifdef ANDROID -#include <lo-bootstrap.h> +#include <osl/detail/android-bootstrap.h> #endif /* implemented in file.c */ @@ -237,7 +237,11 @@ void SAL_CALL osl_unloadModule(oslModule hModule) if (hModule) { #ifndef NO_DL_FUNCTIONS +#ifdef ANDROID + int nRet = lo_dlclose(hModule); +#else int nRet = dlclose(hModule); +#endif #if OSL_DEBUG_LEVEL > 1 if (nRet != 0) |