fix compiling with FreeType 2.5.1

This commit is contained in:
Andrew Stromnov 2013-11-28 16:58:43 +04:00 committed by wiredfool
parent 3c2496e117
commit a654debd7c

View File

@ -59,7 +59,11 @@ struct {
const char* message;
} ft_errors[] =
#if defined(USE_FREETYPE_2_1)
#include FT_ERRORS_H
#else
#include <freetype/fterrors.h>
#endif
/* -------------------------------------------------------------------- */
/* font objects */