SDL syntax error: identifier ‘TTF_Font’


Font.h

#include <SDL.h> #include <SDL_ttf.h>   typedef struct {     TTF_Font* type;     SDL_Color color;     SDL_Rect size; } Font;  Font f_build(const char* const path, const int size, const uint32_t color, const int outline);  SDL_Texture* f_get_texture(const Font, SDL_Renderer* const rend, const int alpha, const char* str);  SDL_Rect f_calc_size(const Font, const char* const str); 

Text.h

#include "Font.h" #include "Position.h"  typedef struct {     Font fill;     Font line; } Text;  Text t_build(const char* const path, const int size, const uint32_t inner, const uint32_t outer);  void t_write(     const Text, SDL_Renderer* const, const int x, const int y, const Position, const int alpha, const int line, const char* const str);  int t_puts(     const Text, SDL_Renderer* const, const int x, const int y, const Position, const int alpha, const int line, const char* const str);  int t_printf(     const Text, SDL_Renderer* const, const int x, const int y, const Position, const int alpha, const int line, const char* const fmt, ...);