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