fix compiling with FreeType 2.5.1

This commit is contained in:
Andrew Stromnov 2013-11-28 16:58:43 +04:00
parent b47cecfe9f
commit c6040f618d

View File

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