From fabe2ea230114f93a8a19384ad44675dd53787ad Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 4 Oct 2009 18:13:56 +0000 Subject: [PATCH] (svn r17696) -Fix (r17693): compile failure when compiling without freetype --- src/fontcache.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fontcache.h b/src/fontcache.h index f03568e979..4ff5ca7126 100644 --- a/src/fontcache.h +++ b/src/fontcache.h @@ -13,6 +13,7 @@ #define FONTCACHE_H #include "gfx_type.h" +#include "spritecache.h" /** Get the SpriteID mapped to the given font size and key */ SpriteID GetUnicodeGlyph(FontSize size, uint32 key); @@ -43,7 +44,7 @@ extern FreeTypeSettings _freetype; void InitFreeType(); void UninitFreeType(); -const struct Sprite *GetGlyph(FontSize size, uint32 key); +const Sprite *GetGlyph(FontSize size, uint32 key); uint GetGlyphWidth(FontSize size, uint32 key); /**