summaryrefslogtreecommitdiff
path: root/src/resources/sdl2imagehelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/sdl2imagehelper.h')
-rw-r--r--src/resources/sdl2imagehelper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/sdl2imagehelper.h b/src/resources/sdl2imagehelper.h
index e1a9fce8b..fd25151a0 100644
--- a/src/resources/sdl2imagehelper.h
+++ b/src/resources/sdl2imagehelper.h
@@ -29,7 +29,10 @@
#include "resources/imagehelper.h"
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wshadow")
#include <SDL.h>
+#pragma GCC diagnostic pop
class Dye;
class Image;