games/meandmyshadow: Fix compatibility with sdl2_ttf 2.24.0

PR:		283867
Reported by:	diizzy
This commit is contained in:
Dmitry Marakasov 2025-01-07 22:00:10 +03:00
parent 127777fd65
commit 1b1f3d6af7

View file

@ -0,0 +1,19 @@
--- src/Render.h.orig 2018-11-03 03:51:57 UTC
+++ src/Render.h
@@ -1,14 +1,11 @@
#ifndef RENDER_H
#define RENDER_H
+#include <SDL_ttf.h>
+
#include <memory>
#include "ImageManager.h"
-
-// The forward declaration of TTF_Font is clunky like this
-// as it's forward declared like this in SDL_ttf.h
-struct _TTF_Font;
-typedef struct _TTF_Font TTF_Font;
// Deleter functor for textures.
struct TextureDeleter {