summaryrefslogtreecommitdiff
path: root/src/input/keyboardconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/keyboardconfig.h')
-rw-r--r--src/input/keyboardconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input/keyboardconfig.h b/src/input/keyboardconfig.h
index 789f8b4ef..c4fce5d17 100644
--- a/src/input/keyboardconfig.h
+++ b/src/input/keyboardconfig.h
@@ -25,7 +25,10 @@
#include "localconsts.h"
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wshadow")
#include <SDL_events.h>
+#pragma GCC diagnostic pop
#include "sdlshared.h"