mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 10:16:17 +03:00
fix compiling with FreeType 2.5.1
This commit is contained in:
parent
b47cecfe9f
commit
c6040f618d
|
@ -59,7 +59,11 @@ struct {
|
||||||
const char* message;
|
const char* message;
|
||||||
} ft_errors[] =
|
} ft_errors[] =
|
||||||
|
|
||||||
|
#if defined(USE_FREETYPE_2_1)
|
||||||
|
#include FT_ERRORS_H
|
||||||
|
#else
|
||||||
#include <freetype/fterrors.h>
|
#include <freetype/fterrors.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* -------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------- */
|
||||||
/* font objects */
|
/* font objects */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user