[rkward] rkward: Fix compilation for ancient Unix systems
Thomas Friedrichsmeier
null at kde.org
Mon Dec 30 15:05:29 GMT 2019
Git commit 7be9d03388228b8d7518ed5adccd5988965e5db5 by Thomas Friedrichsmeier.
Committed on 30/12/2019 at 15:04.
Pushed by tfry into branch 'master'.
Fix compilation for ancient Unix systems
M +3 -1 rkward/main.cpp
https://commits.kde.org/rkward/7be9d03388228b8d7518ed5adccd5988965e5db5
diff --git a/rkward/main.cpp b/rkward/main.cpp
index c90234c1..dfb8a1a3 100644
--- a/rkward/main.cpp
+++ b/rkward/main.cpp
@@ -73,7 +73,9 @@
#include <QTime>
#include <QSettings>
#include <QStandardPaths>
-#include <QVersionNumber>
+#if defined(Q_OS_MACOS) || defined(Q_OS_WINDOWS)
+# include <QVersionNumber>
+#endif
#ifdef Q_OS_MACOS
// Needed to allow execution of launchctl
More information about the rkward-tracker
mailing list