Commit c5b2b0a2 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Freetype: fix compilation with 2.5.1

Close #10019
parent e426d8e5
...@@ -88,10 +88,11 @@ ...@@ -88,10 +88,11 @@
#endif #endif
/* Freetype */ /* Freetype */
#include <freetype/ftsynth.h> #include <ft2build.h>
#include FT_FREETYPE_H #include FT_FREETYPE_H
#include FT_GLYPH_H #include FT_GLYPH_H
#include FT_STROKER_H #include FT_STROKER_H
#include FT_SYNTHESIS_H
#define FT_FLOOR(X) ((X & -64) >> 6) #define FT_FLOOR(X) ((X & -64) >> 6)
#define FT_CEIL(X) (((X + 63) & -64) >> 6) #define FT_CEIL(X) (((X + 63) & -64) >> 6)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment