summaryrefslogtreecommitdiff
path: root/gtk/gtkfontchooserwidget.c
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2019-01-07 12:11:10 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2019-01-07 12:13:17 +0800
commit728339e1ce21f0d80d0c5667e1040dff3f3578a1 (patch)
treedc66ea40f28ed526b1e392b75bab854a3d269a58 /gtk/gtkfontchooserwidget.c
parent70b7b89411690b0c77b4f50fe9072e7160d345f2 (diff)
downloadgtk+-ft.headers.tar.gz
gtk/gtkfontchooserwidget.c: Include FreeType Headers properlyft.headers
Like what was done in the master branch, we ought to include the FreeType headers via the macros that are defined via including ft2build.h.
Diffstat (limited to 'gtk/gtkfontchooserwidget.c')
-rw-r--r--gtk/gtkfontchooserwidget.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk/gtkfontchooserwidget.c b/gtk/gtkfontchooserwidget.c
index b858d92c29..8cd141473d 100644
--- a/gtk/gtkfontchooserwidget.c
+++ b/gtk/gtkfontchooserwidget.c
@@ -58,8 +58,11 @@
#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"
#endif