summaryrefslogtreecommitdiff
path: root/src/input/joystick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/joystick.cpp')
-rw-r--r--src/input/joystick.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input/joystick.cpp b/src/input/joystick.cpp
index 3ec317c8d..65f967838 100644
--- a/src/input/joystick.cpp
+++ b/src/input/joystick.cpp
@@ -31,7 +31,10 @@
#include "utils/timer.h"
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wshadow")
#include <SDL.h>
+#pragma GCC diagnostic pop
#include "debug.h"