summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-04 17:01:09 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-07-12 00:10:07 -0400
commit721381a81cba3c609c30d5801bb410c9138cba1f (patch)
treec6063a8f123e4c659e3afc144ac07db9df8be193 /pango
parent24fe412b530c11865195b8b36688f39d55d3c341 (diff)
downloadpango-721381a81cba3c609c30d5801bb410c9138cba1f.tar.gz
Add freetype includes where they belong
Include freetype.h in headers where freetype types are used.
Diffstat (limited to 'pango')
-rw-r--r--pango/pango-ot.h3
-rw-r--r--pango/pangoft2.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/pango/pango-ot.h b/pango/pango-ot.h
index 6d6a9f5c..501ca8b6 100644
--- a/pango/pango-ot.h
+++ b/pango/pango-ot.h
@@ -30,6 +30,9 @@
#include <pango/pango-script.h>
#include <pango/pango-language.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
+
G_BEGIN_DECLS
#ifndef PANGO_DISABLE_DEPRECATED
diff --git a/pango/pangoft2.h b/pango/pangoft2.h
index c0830327..87d0ae2d 100644
--- a/pango/pangoft2.h
+++ b/pango/pangoft2.h
@@ -25,6 +25,9 @@
#include <fontconfig/fontconfig.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
+
#include <pango/pango-layout.h>
#include <pango/pangofc-font.h>