patch for linux-2.6.13-rc1

Jeff Chua <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Message-ID <[email protected]>
The latest linux kernel 2.6.13-rc1 modified joystick.h

The patch below is needed to compile using the new kernel.

Thanks,
Jeff.


--- xfree86/xc/programs/Xserver/hw/xfree86/input/ur98/xf86Ur-98.c.org	2005-07-01 13:50:04 +0800
+++ xfree86/xc/programs/Xserver/hw/xfree86/input/ur98/xf86Ur-98.c	2005-07-01 13:50:47 +0800
@@ -5,6 +5,8 @@
  #include <string.h>
  #include <errno.h>
  #define inline __inline__
+#define BITS_PER_LONG 32
+#define __s64 long
  #include <linux/joystick.h>

  #undef BUS_ISA
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.