lnx_kbd.c: In function `KDKBDREP_ioctl_ok':
lnx_kbd.c:110: error: structure has no member named `rate'
lnx_kbd.c:118: error: structure has no member named `rate'
lnx_kbd.c:120: error: structure has no member named `rate'
lnx_kbd.c:121: error: structure has no member named `rate'
lnx_kbd.c:122: error: structure has no member named `rate'
make[1]: *** [lnx_kbd.o] Error 1
The struct member `rate' has been renamed to `period'.
Yes, I know that 2.6 headers are as yet unsupported, but some people need or want to use them, and patching this will not affect those on 2.4 headers.
The source contains a partial workaround to the problem which fails because
a) it fails to include linux/version.h
b) it is applied only in lnx_io.c, it is also needed in lnx_kbd.c
The patch fixes and extends the existing workaround.