Skip to content

Commit

Permalink
Patched to compile with SMPEG headers vs SDL2 (thanks, Philipp!).
Browse files Browse the repository at this point in the history
Fixes Bugzilla #1594.
  • Loading branch information
icculus committed May 29, 2017
1 parent 4cfa640 commit fec42d0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dynamic_mp3.h
Expand Up @@ -20,6 +20,13 @@
*/

#ifdef MP3_MUSIC

#if SDL_VERSION_ATLEAST(2, 0, 0)
/* Forward declaration for SDL 2.0 because struct is not available there but
still used in a file included with smpeg.h. May not compile if missing. */
typedef struct SDL_Overlay SDL_Overlay;
#endif

#include "smpeg.h"

typedef struct {
Expand Down

0 comments on commit fec42d0

Please sign in to comment.