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



commit 911d82baeab6675e8c65e5e3e9315ee5841987ab
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]