mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-03 13:14:27 +03:00
fix compiling with FreeType 2.5.1
This commit is contained in:
parent
3c2496e117
commit
a654debd7c
|
@ -59,7 +59,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 */
|
||||
|
|
Loading…
Reference in New Issue
Block a user