1 diff -ur accessx.orig/Access.C accessx/Access.C
2 --- accessx.orig/Access.C 2003-09-19 19:08:01.000000000 +0300
3 +++ accessx/Access.C 2008-01-07 18:53:43.000000000 +0200
5 #include <X11/XKBlib.h>
14 //Get the state of the keyboard.
16 XkbDescPtr xkb = XkbGetMap(display, 0, XkbUseCoreKbd);
17 - if ((int)xkb == BadAlloc || xkb == NULL)
20 return 5; /*AccessKeyboardQueryFailure;*/
23 //Get the state of the keyboard.
25 XkbDescPtr xkb = XkbGetMap(display, 0, XkbUseCoreKbd);
26 - if ((int)xkb == BadAlloc || xkb == NULL)
29 return 5; /*AccessKeyboardQueryFailure;*/
31 diff -ur accessx.orig/Access.h accessx/Access.h
32 --- accessx.orig/Access.h 2003-09-19 19:00:42.000000000 +0300
33 +++ accessx/Access.h 2008-01-07 18:53:47.000000000 +0200
38 -#include <iostream.h>
42 inline char* onoroff(int val)
43 diff -ur accessx.orig/ax.C accessx/ax.C
44 --- accessx.orig/ax.C 2003-09-19 19:09:31.000000000 +0300
45 +++ accessx/ax.C 2008-01-07 18:53:49.000000000 +0200
52 ///////////////////////////////////////////////////////////////////////////////
54 diff -ur accessx.orig/ax.h accessx/ax.h
55 --- accessx.orig/ax.h 2003-09-19 19:06:56.000000000 +0300
56 +++ accessx/ax.h 2008-01-07 18:53:51.000000000 +0200
61 -#include <iostream.h>