Fix compilation on ancient linux distros

This commit is contained in:
Kovid Goyal 2018-10-24 08:40:25 +05:30
parent 631f97eb26
commit bd5a85a4e7
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -16,6 +16,10 @@
#define HARFBUZZ_HAS_CHANGE_FONT
#endif
#if FREETYPE_MAJOR == 2 && FREETYPE_MINOR < 7
#define FT_Bitmap_Init FT_Bitmap_New
#endif
#include FT_FREETYPE_H
#include FT_BITMAP_H
typedef struct {