# Modified from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733385
diff -Naur libXft-2.2.0.orig/src/xftglyphs.c libXft-2.2.0/src/xftglyphs.c
--- libXft-2.2.0.orig/src/xftglyphs.c	2009-10-16 14:27:08.000000000 -0700
+++ libXft-2.2.0/src/xftglyphs.c	2014-12-04 15:03:54.485358680 -0800
@@ -21,10 +21,12 @@
  */
 
 #include "xftint.h"
-#include <freetype/ftoutln.h>
+#include <ft2build.h>
+#include FT_OUTLINE_H
+#include FT_LCD_FILTER_H
 
 #if HAVE_FT_GLYPHSLOT_EMBOLDEN
-#include <freetype/ftsynth.h>
+#include FT_SYNTHESIS_H
 #endif
 
 static const int    filters[3][3] = {
