[PATCH libXft] Use FT_*_H macros instead of including <freetype/*.h>

Julien Cristau jcristau at debian.org
Mon Dec 2 07:30:05 PST 2013


The latter doesn't seem to work with recent freetype.

Signed-off-by: Julien Cristau <jcristau at debian.org>
---
 src/xftglyphs.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/xftglyphs.c b/src/xftglyphs.c
index 2f3dc5a..4b5fb82 100644
--- a/src/xftglyphs.c
+++ b/src/xftglyphs.c
@@ -21,10 +21,10 @@
  */
 
 #include "xftint.h"
-#include <freetype/ftoutln.h>
-#include <freetype/ftlcdfil.h>
+#include FT_OUTLINE_H
+#include FT_LCD_FILTER_H
 
-#include <freetype/ftsynth.h>
+#include FT_SYNTHESIS_H
 
 /*
  * Validate the memory info for a font
-- 
1.8.4.3



More information about the xorg-devel mailing list