diff --git a/_imagingft.c b/_imagingft.c index 47d50bdca..f19555be2 100644 --- a/_imagingft.c +++ b/_imagingft.c @@ -59,7 +59,11 @@ struct { const char* message; } ft_errors[] = +#if defined(USE_FREETYPE_2_1) +#include FT_ERRORS_H +#else #include +#endif /* -------------------------------------------------------------------- */ /* font objects */