summaryrefslogtreecommitdiff
path: root/src/soundmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/soundmanager.h')
-rw-r--r--src/soundmanager.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/soundmanager.h b/src/soundmanager.h
index a73975536..8de7b0dfa 100644
--- a/src/soundmanager.h
+++ b/src/soundmanager.h
@@ -23,6 +23,14 @@
#ifndef SOUNDMANAGER_H
#define SOUNDMANAGER_H
+#ifdef USE_SDL2
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wswitch-default"
+#endif
+#include <SDL_stdinc.h>
+#ifdef USE_SDL2
+#pragma GCC diagnostic pop
+#endif
#include <SDL_mixer.h>
#include "listeners/configlistener.h"