# ifdef JS_NEW
unsigned char u;
# else
-# if defined( __linux__ )
+# if defined( __linux__ ) || TARGET_HOST_SOLARIS
int counter = 0;
# endif
# endif
# endif
#endif
-#if defined( __linux__ )
+#if defined( __linux__ ) || TARGET_HOST_SOLARIS
/* Default for older Linux systems. */
joy->num_axes = 2;
joy->num_buttons = 32;