summaryrefslogtreecommitdiff
path: root/jvmfwk
diff options
context:
space:
mode:
authorTomoyuki Kubota <himajin100000@gmail.com>2019-04-27 13:37:47 +0900
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-27 08:57:59 +0200
commit1c299098d368bb02581c20d10657ce3184db9855 (patch)
treedaf605a12d4b7ba54f91afe70f935175a7dcdf19 /jvmfwk
parentb4b8a50110474fd7221be6ab5e295197076ed427 (diff)
osl/diagnose.h and diagnostics.h are used when OSL_DEBUG_LEVEL >= 2
Change-Id: I004ee1a56b0d4c63db82106c516e19753ad2a0f5 Reviewed-on: https://gerrit.libreoffice.org/71405 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'jvmfwk')
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx
index 09c75f9a3064..d87bd86a235a 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx
@@ -22,7 +22,10 @@
#include <osl/thread.h>
#include <rtl/character.hxx>
#include <string.h>
-
+#if OSL_DEBUG_LEVEL >= 2
+#include <osl/diagnose.h>
+#include "diagnostics.h"
+#endif
namespace jfw_plugin { //stoc_javadetect