[gtk/wip/fanc999/fontchooser.win32.gtk3] gtk/gtkfontfeatures.c: Include FreeType headers properly



commit 8f4f679b963f573eb900fd6fe5aec4d317ad152b
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed Dec 26 17:24:39 2018 +0800

    gtk/gtkfontfeatures.c: Include FreeType headers properly
    
    This follows what is done in the master branch...

 gtk/gtkfontfeatures.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkfontfeatures.c b/gtk/gtkfontfeatures.c
index 168cc26756..4133405527 100644
--- a/gtk/gtkfontfeatures.c
+++ b/gtk/gtkfontfeatures.c
@@ -38,8 +38,10 @@
 #include <hb.h>
 #include <hb-ot.h>
 #include <hb-ft.h>
-#include <freetype/freetype.h>
-#include <freetype/ftmm.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
+#include FT_MULTIPLE_MASTERS_H
+
 #include "language-names.h"
 #include "script-names.h"
 #include "open-type-layout.h"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]