diff --git a/src/linux_joystick.c b/src/linux_joystick.c index d8a916b0..02fd8232 100644 --- a/src/linux_joystick.c +++ b/src/linux_joystick.c @@ -25,6 +25,8 @@ // //======================================================================== +#define _GNU_SOURCE + #include "internal.h" #if defined(GLFW_BUILD_LINUX_JOYSTICK)