There are still three instances of "int32_t" in linux/joystick.h, which
causes compilation to fail on programs that use it (unless they happen
to include stdint.h first). The needed patch is given below.
diff -upr linux-kernel-headers-2.6.17.6.orig/include/linux/joystick.h
linux-kernel-headers-2.6.17.6/include/linux/joystick.h
--- linux-kernel-headers-2.6.17.6.orig/include/linux/joystick.h
2006-08-07 13:20:28.000000000 -0400
+++ linux-kernel-headers-2.6.17.6/include/linux/joystick.h
2006-08-07 13:22:54.000000000 -0400
@@ -111,9 +111,9 @@ struct js_corr {
#define JS_SET_ALL 8
struct JS_DATA_TYPE {
- int32_t buttons;
- int32_t x;
- int32_t y;
+ __s32 buttons;
+ __s32 x;
+ __s32 y;
};
struct JS_DATA_SAVE_TYPE_32 {
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]