[pango/kill-ft-face: 7/8] Add freetype includes where they belong
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/kill-ft-face: 7/8] Add freetype includes where they belong
- Date: Wed, 10 Jul 2019 04:22:14 +0000 (UTC)
commit eec6874fb0bff74de2f615144f5535a2b21f5274
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]