From 7705e46966bfa05015fb9fb20c68da844ab88028 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Thu, 5 Dec 2013 15:01:48 +0100 Subject: [PATCH] Issue 3694: Use standard inclusion scheme for FreeType headers. The most recent FreeType release (2.5.1) has changed locations for header files. Using the standard way, this is not visible to applications. --- lily/freetype-error.cc | 2 +- lily/freetype.cc | 4 ++-- lily/open-type-font.cc | 2 +- lily/pango-font.cc | 2 +- lily/ttf.cc | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lily/freetype-error.cc b/lily/freetype-error.cc index 00e5cae351..88af76c1ae 100644 --- a/lily/freetype-error.cc +++ b/lily/freetype-error.cc @@ -31,7 +31,7 @@ const struct Freetype_error_message const char *err_msg; } ft_errors[] = -#include +#include FT_ERRORS_H ; diff --git a/lily/freetype.cc b/lily/freetype.cc index d7d4843ce8..55a3fb3780 100644 --- a/lily/freetype.cc +++ b/lily/freetype.cc @@ -20,8 +20,8 @@ #include "freetype.hh" #include "warn.hh" -#include -#include +#include FT_OUTLINE_H +#include FT_BBOX_H FT_Library freetype2_library; diff --git a/lily/open-type-font.cc b/lily/open-type-font.cc index df6a744d0e..837a1f2300 100644 --- a/lily/open-type-font.cc +++ b/lily/open-type-font.cc @@ -23,7 +23,7 @@ using namespace std; -#include +#include FT_TRUETYPE_TABLES_H #include "dimensions.hh" #include "freetype.hh" diff --git a/lily/pango-font.cc b/lily/pango-font.cc index ee986fc94d..b148a5bc08 100644 --- a/lily/pango-font.cc +++ b/lily/pango-font.cc @@ -22,7 +22,7 @@ #define PANGO_ENABLE_BACKEND #include -#include +#include FT_XFREE86_H #include #include diff --git a/lily/ttf.cc b/lily/ttf.cc index eaeb67adfb..6d7f97bf37 100644 --- a/lily/ttf.cc +++ b/lily/ttf.cc @@ -20,7 +20,7 @@ #include #include "freetype.hh" -#include +#include FT_TRUETYPE_TABLES_H #include "international.hh" #include "memory-stream.hh" -- 2.39.2