summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cui/source/dialogs/QrCodeGenDialog.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/cui/source/dialogs/QrCodeGenDialog.cxx b/cui/source/dialogs/QrCodeGenDialog.cxx
index f5161458f4c5..1d8928bcb7a8 100644
--- a/cui/source/dialogs/QrCodeGenDialog.cxx
+++ b/cui/source/dialogs/QrCodeGenDialog.cxx
@@ -19,7 +19,11 @@
#include <vcl/svapp.hxx>
#if ENABLE_ZXING
+#if __has_include(<Version.h>)
#include <Version.h>
+#else
+#include <ZXVersion.h>
+#endif
#include <rtl/strbuf.hxx>
#ifdef __GNUC__