[pango/kill-ft-face: 7/8] Add freetype includes where they belong



commit cdee60ad1998ea353f827855be9a5ebb28f36ea7
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jul 4 17:01:09 2019 +0000

    Add freetype includes where they belong
    
    Include freetype.h in headers where freetype
    types are used.

 pango/pango-ot.h | 3 +++
 pango/pangoft2.h | 3 +++
 2 files changed, 6 insertions(+)
---
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>
 


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