--- linux/include/linux/joystick.h~ 2005-10-19 20:35:13.000000000 +0200 +++ linux/include/linux/joystick.h 2005-10-20 20:41:04.000000000 +0200 @@ -134,6 +134,7 @@ struct JS_DATA_TYPE JS_CORR; }; +#ifdef __KERNEL__ #if BITS_PER_LONG == 64 #define JS_DATA_SAVE_TYPE JS_DATA_SAVE_TYPE_64 #elif BITS_PER_LONG == 32 @@ -141,5 +142,6 @@ #else #error Unexpected BITS_PER_LONG #endif +#endif /* __KERNEL__ */ #endif /* _LINUX_JOYSTICK_H */