games/meandmyshadow: fix build with recent SDL_mixer

This commit is contained in:
Dmitry Marakasov 2025-03-17 20:37:37 +03:00
parent 9699153193
commit 238a83e0ea
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
--- src/MusicManager.h.orig 2018-11-03 03:51:57 UTC
+++ src/MusicManager.h
@@ -20,12 +20,11 @@
#ifndef MUSICMANAGER_H
#define MUSICMANAGER_H
+#include <SDL2/SDL_mixer.h>
+
#include <string>
#include <map>
#include <vector>
-
-struct _Mix_Music;
-typedef struct _Mix_Music Mix_Music;
//Class for loading and playing the music.
class MusicManager{