summaryrefslogtreecommitdiff
path: root/src/evdev.c
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2008-07-20 11:33:37 +0200
committerJulien Cristau <jcristau@debian.org>2008-07-20 11:45:30 +0200
commit49de32e70f833628554342ef4225a4174158b412 (patch)
treed672368f43e400e449acceebcbb67ddb19a79ea2 /src/evdev.c
parentf135e074629c7cba01bbe9ff6bce77883c22bb29 (diff)
Fill up the version info
Report correct versions instead of "compiled for 0.0.0, module version = 1.0.0" (cherry picked from commit 2b7edaa4ab88e192d7285d39b4834d1e535b94d0)
Diffstat (limited to 'src/evdev.c')
-rw-r--r--src/evdev.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 471bb51..f9c6fde 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -42,6 +42,7 @@
#include <xf86Xinput.h>
#include <exevents.h>
#include <mipointer.h>
+#include <xorgVersion.h>
#include "evdev.h"
@@ -1101,8 +1102,8 @@ static XF86ModuleVersionInfo EvdevVersionRec =
MODULEVENDORSTRING,
MODINFOSTRING1,
MODINFOSTRING2,
- 0, /* Missing from SDK: XORG_VERSION_CURRENT, */
- 1, 0, 0,
+ XORG_VERSION_CURRENT,
+ PACKAGE_VERSION_MAJOR, PACKAGE_VERSION_MINOR, PACKAGE_VERSION_PATCHLEVEL,
ABI_CLASS_XINPUT,
ABI_XINPUT_VERSION,
MOD_CLASS_XINPUT,