summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2003-11-18 06:18:05 +0000
committerCarl Worth <cworth@cworth.org>2003-11-18 06:18:05 +0000
commit97cfea914d5276bd575264827293c3dfe458e678 (patch)
tree85017aa865129db7109b868cca582b8693c232da
parent75ced44ae08358f1e8f64ecd1e93b69996e4b595 (diff)
Fix build for new freetype header include mechanism, (thanks to Christof Petig <christof@petig-baender.de>)
-rw-r--r--ChangeLog5
-rw-r--r--src/cairo.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bca06707b..9c97583d2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-18 Carl Worth <cworth@east.isi.edu>
+
+ * src/cairo.h: Fix build for new freetype header include
+ mechanism, (thanks to Christof Petig <christof@petig-baender.de>)
+
2003-11-17 Carl Worth <cworth@isi.edu>
* Remove infinite looping when stroking with a line width at or
diff --git a/src/cairo.h b/src/cairo.h
index 760ecae3e..0d99ce64e 100644
--- a/src/cairo.h
+++ b/src/cairo.h
@@ -425,7 +425,8 @@ cairo_font_current_transform (cairo_font_t *font,
/* Fontconfig/Freetype platform-specific font interface */
#include <fontconfig/fontconfig.h>
-#include <freetype/freetype.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
extern cairo_font_t * __external_linkage
cairo_ft_font_create (FT_Library ft_library, FcPattern *pattern);