aboutsummaryrefslogtreecommitdiffstats
path: root/code/unix/linux_joystick.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/unix/linux_joystick.c')
-rw-r--r--code/unix/linux_joystick.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/code/unix/linux_joystick.c b/code/unix/linux_joystick.c
index 1debede..8236fff 100644
--- a/code/unix/linux_joystick.c
+++ b/code/unix/linux_joystick.c
@@ -30,6 +30,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
**
*/
+#if !USE_SDL
+
#include <linux/joystick.h>
#include <sys/types.h>
#include <fcntl.h>
@@ -204,4 +206,6 @@ void IN_JoyMove( void )
old_axes = axes;
}
+#endif // !USE_SDL
+