summaryrefslogtreecommitdiff
path: root/platform/x11/joystick_linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/x11/joystick_linux.h')
-rw-r--r--platform/x11/joystick_linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/joystick_linux.h b/platform/x11/joystick_linux.h
index 339a5f239d..1064a6f841 100644
--- a/platform/x11/joystick_linux.h
+++ b/platform/x11/joystick_linux.h
@@ -30,7 +30,7 @@
//author: Andreas Haas <hondres, liugam3@gmail.com>
#ifndef JOYSTICK_LINUX_H
#define JOYSTICK_LINUX_H
-#ifdef __linux__
+#ifdef JOYDEV_ENABLED
#include "main/input_default.h"
#include "os/thread.h"
#include "os/mutex.h"