blob: adc050a467046c532af53edaa080401398592342 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- Imaging-1.1.7/_imagingft.c.orig 2016-02-17 22:51:22.173689472 +0800
+++ Imaging-1.1.7/_imagingft.c 2016-02-17 22:53:45.743683886 +0800
@@ -70,7 +70,13 @@
const char* message;
} ft_errors[] =
+#if defined(USE_FREETYPE_2_1)
+/* freetype 2.1 and newer */
+#include FT_ERRORS_H
+#else
+/* freetype 2.0 */
#include <freetype/fterrors.h>
+#endif
/* -------------------------------------------------------------------- */
/* font objects */
|