[ANNOUNCE] xf86-input-evdev 1.99.2

Julien Cristau jcristau at debian.org
Thu May 22 12:00:20 PDT 2008


gcc complains about undeclared XkbSetRulesDflts and
XkbInitKeyboardDeviceStruct, the following patch seems to fix that.

Cheers,
Julien

From: Julien Cristau <jcristau at debian.org>
Date: Thu, 22 May 2008 20:54:02 +0200
Subject: [PATCH] include the proper header for XkbSetRulesDflts and XkbInitKeyboardDeviceStruct

---
 src/evdev.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/evdev.c b/src/evdev.c
index e212c14..18999f4 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -45,8 +45,7 @@
 #include <mipointer.h>
 
 #if defined(XKB)
-/* XXX VERY WRONG.  this is a client side header. */
-#include <X11/extensions/XKBstr.h>
+#include <xkbsrv.h>
 #endif
 
 #include <xf86Module.h>
-- 
1.5.5.1




More information about the xorg mailing list