games/trackballs: Fix build for sdl2_ttf upgrade

PR:	283868
Reported by:	diizzy
This commit is contained in:
Ganael LAPLANCHE 2025-01-07 12:04:45 +01:00
parent 816ecff18e
commit 5a2c00b017

View File

@ -0,0 +1,12 @@
--- src/glHelp.h.orig 2022-12-23 18:52:49 UTC
+++ src/glHelp.h
@@ -27,7 +27,8 @@
#include "general.h"
-typedef struct _TTF_Font TTF_Font;
+#include <SDL2/SDL_ttf.h>
+
typedef struct SDL_Surface SDL_Surface;
class Map;
class Game;