[vlc-commits] Freetype: fix compilation with 2.5.1

Jean-Baptiste Kempf git at videolan.org
Mon Dec 2 17:33:00 CET 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Dec  2 17:32:07 2013 +0100| [c5b2b0a284ba6b544646f3a205aa1a2e1117d431] | committer: Jean-Baptiste Kempf

Freetype: fix compilation with 2.5.1

Close #10019

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c5b2b0a284ba6b544646f3a205aa1a2e1117d431
---

 modules/text_renderer/freetype.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/text_renderer/freetype.c b/modules/text_renderer/freetype.c
index bd78c0d..baeeb96 100644
--- a/modules/text_renderer/freetype.c
+++ b/modules/text_renderer/freetype.c
@@ -88,10 +88,11 @@
 #endif
 
 /* Freetype */
-#include <freetype/ftsynth.h>
+#include <ft2build.h>
 #include FT_FREETYPE_H
 #include FT_GLYPH_H
 #include FT_STROKER_H
+#include FT_SYNTHESIS_H
 
 #define FT_FLOOR(X)     ((X & -64) >> 6)
 #define FT_CEIL(X)      (((X + 63) & -64) >> 6)



More information about the vlc-commits mailing list