From 54806e7437efdc3e9cd71a8a778671ea5a4b10b0 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 4 Oct 2009 18:13:56 +0000 Subject: (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 f03568e97..4ff5ca712 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); /** -- cgit v1.2.3-70-g09d2