summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-10-19 21:59:09 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-10-19 21:59:09 +0200
commit709dac6140502566fac4156b83b998895dc07377 (patch)
tree9fbab707da7baba8e3268960eee2458e2bc6a709 /opentrack
parentdd87370ff2818ee3c3d67ba104405b85ee44daba (diff)
fix link errors on win32 -only-
Diffstat (limited to 'opentrack')
-rw-r--r--opentrack/main-settings.hpp2
-rw-r--r--opentrack/version.C5
2 files changed, 7 insertions, 0 deletions
diff --git a/opentrack/main-settings.hpp b/opentrack/main-settings.hpp
index 6f78ac82..841d3bca 100644
--- a/opentrack/main-settings.hpp
+++ b/opentrack/main-settings.hpp
@@ -2,6 +2,8 @@
#include <QString>
#include "opentrack/options.hpp"
+#include "opentrack/plugin-api.hpp"
+
using namespace options;
struct key_opts {
diff --git a/opentrack/version.C b/opentrack/version.C
new file mode 100644
index 00000000..0ef4ec14
--- /dev/null
+++ b/opentrack/version.C
@@ -0,0 +1,5 @@
+#ifdef IN_VERSION_UNIT
+# define IN_CRAPOLA_COMPILE_UNIT
+volatile const char* opentrack_version = OPENTRACK_VERSION;
+#else
+#endif