Fix compiling with FreeType 2.5.1

This commit is contained in:
Carlos Andrés Rocha 2014-09-29 16:41:14 -04:00
parent 4a10a363e4
commit 679d027a64

View File

@ -70,7 +70,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 */