[vlc-commits] Freetype: fix compilation with 2.5.1

Jean-Baptiste Kempf git at videolan.org
Thu Dec 5 19:04:57 CET 2013


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

Freetype: fix compilation with 2.5.1

Close #10019

(cherry picked from commit c5b2b0a284ba6b544646f3a205aa1a2e1117d431)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 25d6b15..c27ec45 100644
--- a/modules/text_renderer/freetype.c
+++ b/modules/text_renderer/freetype.c
@@ -90,10 +90,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