From 1c299098d368bb02581c20d10657ce3184db9855 Mon Sep 17 00:00:00 2001 From: Tomoyuki Kubota Date: Sat, 27 Apr 2019 13:37:47 +0900 Subject: [PATCH] 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 --- jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 #include #include - +#if OSL_DEBUG_LEVEL >= 2 +#include +#include "diagnostics.h" +#endif namespace jfw_plugin { //stoc_javadetect