mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
Merge pull request #427 from stromnov/master
fix compiling with FreeType 2.5.1
This commit is contained in:
commit
fa7f9aa6d5
|
@ -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