From 679d027a644174158bd2982a84dca64f224bc1f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Andr=C3=A9s=20Rocha?= Date: Mon, 29 Sep 2014 16:41:14 -0400 Subject: [PATCH] Fix compiling with FreeType 2.5.1 --- _imagingft.c | 4 ++++ 1 file changed, 4 insertions(+) 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 */