--- ../snes9x-1.51-src-orig/unix/unix.cpp	2007-04-29 09:51:08 +0900
+++ unix/unix.cpp	2008-02-10 15:22:04 +0900
@@ -250,7 +250,9 @@
 
 #ifdef JOYSTICK_SUPPORT
 #if defined(__linux)
+#define class klass
 #include <linux/joystick.h>
+#undef class
 uint8 js_mod [8] = {0, 0, 0, 0, 0, 0, 0, 0};
 int js_fd [8] = {-1, -1, -1, -1, -1, -1, -1, -1};
 char *js_device [8] = {"/dev/js0", "/dev/js1", "/dev/js2", "/dev/js3", "/dev/js4", "/dev/js5", "/dev/js6", "/dev/js7" };
