summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-11-30 17:49:52 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-12-01 11:06:32 +1000
commite0b200caa6083059a7cf1caac7663c5e8809d978 (patch)
treef9f760af0b1476d268e9ef8b599555d4b329d2ad /src
parent996b845d68cfa23b7f8a8f9da1bbc40527da562b (diff)
Use the LIBINPUT_VERSION define, not the normal VERSION
Not that it really matters, but given we're already setting it anyway... Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
Diffstat (limited to 'src')
-rw-r--r--src/libinput-private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libinput-private.h b/src/libinput-private.h
index 52f129a..60685b5 100644
--- a/src/libinput-private.h
+++ b/src/libinput-private.h
@@ -34,11 +34,12 @@
#include "libinput.h"
#include "libinput-util.h"
+#include "libinput-version.h"
#if LIBINPUT_VERSION_MICRO >= 90
#define HTTP_DOC_LINK "https://wayland.freedesktop.org/libinput/doc/latest/"
#else
-#define HTTP_DOC_LINK "https://wayland.freedesktop.org/libinput/doc/" VERSION "/"
+#define HTTP_DOC_LINK "https://wayland.freedesktop.org/libinput/doc/" LIBINPUT_VERSION "/"
#endif
struct libinput_source;