diff --git a/Makefile b/Makefile index 6e01cf5..8b8bd1b 100644 --- a/Makefile +++ b/Makefile @@ -78,7 +78,7 @@ else FixPath = $1 CXXFLAGS := -std=c++20 -Wall -Os -ffunction-sections -fdata-sections CXXFLAGS_DEBUG := -std=c++20 -Wall -g -D_DEBUG - LDFLAGS := -lSDL3 + LDFLAGS := -lSDL3 -lSDL3_ttf RMFILE := rm -f RMDIR := rm -rdf MKDIR := mkdir -p diff --git a/source/ui/ui_manager.h b/source/ui/ui_manager.h index 7eb25d8..9d6c353 100644 --- a/source/ui/ui_manager.h +++ b/source/ui/ui_manager.h @@ -4,7 +4,7 @@ #include // for std::string // Forward declarations -class SDL_Renderer; +struct SDL_Renderer; class SceneManager; class Shape; class ThemeManager;