--- ../snes9x-1.43-orig/snes9x/unix/unix.cpp	2004-12-31 07:15:47 +0900
+++ snes9x/unix/unix.cpp	2006-09-08 21:08:32 +0900
@@ -169,7 +169,9 @@
 
 #ifdef JOYSTICK_SUPPORT
 #if defined(__linux)
+#define class klass
 #include <linux/joystick.h>
+#undef class
 int js_fd [4] = {-1, -1, -1, -1};
 int js_map_button [4][16] = {
     {
