summaryrefslogtreecommitdiff
path: root/src/input/joystick.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/joystick.h')
-rw-r--r--src/input/joystick.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input/joystick.h b/src/input/joystick.h
index 4088cc84c..19f028491 100644
--- a/src/input/joystick.h
+++ b/src/input/joystick.h
@@ -25,7 +25,10 @@
#include "events/inputevent.h"
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wshadow")
#include <SDL_events.h>
+#pragma GCC diagnostic pop
class Joystick final
{