]> git.donarmstrong.com Git - lilypond.git/commitdiff
Include `freetype.hh' where appropriate.
authorWerner Lemberg <wl@gnu.org>
Wed, 11 Dec 2013 06:53:14 +0000 (07:53 +0100)
committerDavid Kastrup <dak@gnu.org>
Fri, 20 Dec 2013 09:11:42 +0000 (10:11 +0100)
This ensures that we aren't dependent on indirect header inclusion chains of
third-party packages.

lily/include/freetype.hh
lily/open-type-font.cc
lily/pango-font.cc

index 14f14d92c0317248e97f12c221bfc69d985a31e5..89104bc8880a19b7ad32fb9ba8b166ece8fe85b5 100644 (file)
@@ -20,6 +20,7 @@
 #ifndef FREETYPE_HH
 #define FREETYPE_HH
 
+// This include file loads the header file macros for FreeType.
 #include <ft2build.h>
 #include FT_FREETYPE_H
 
index 837a1f23001772aebe5bec7271c2084b80e82ca4..76bbff86ed0cfdb762a70d3da57bdd9c4647f459 100644 (file)
@@ -18,6 +18,7 @@
 */
 
 #include "open-type-font.hh"
+#include "freetype.hh"
 
 #include <cstdio>
 
index b148a5bc08cf52b98849d2c71663859a254813cc..e7b5489df53b7d7963ef519271ded85da2e50d8f 100644 (file)
@@ -22,6 +22,7 @@
 #define PANGO_ENABLE_BACKEND
 
 #include <pango/pangoft2.h>
+#include "freetype.hh"
 #include FT_XFREE86_H
 
 #include <map>