diff options
Diffstat (limited to 'src/external')
| -rw-r--r-- | src/external/glfw/src/linux_joystick.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/external/glfw/src/linux_joystick.c b/src/external/glfw/src/linux_joystick.c index d73961fb..da6a1be7 100644 --- a/src/external/glfw/src/linux_joystick.c +++ b/src/external/glfw/src/linux_joystick.c @@ -38,6 +38,10 @@ #include <string.h> #include <unistd.h> +#ifndef SYN_DROPPED // < 2.6.39 kernel headers +#define SYN_DROPPED 3 +#endif + // Apply an EV_KEY event to the specified joystick // static void handleKeyEvent(_GLFWjoystick* js, int code, int value) |
