From: Werner Lemberg Date: Thu, 5 Dec 2013 14:01:48 +0000 (+0100) Subject: Issue 3694: Use standard inclusion scheme for FreeType headers. X-Git-Tag: release/2.18.0-1~20^2~22 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7705e46966bfa05015fb9fb20c68da844ab88028;p=lilypond.git 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. --- 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"