--- xorg-x11-6.9/xc/lib/Xft/xftglyphs.c.embold	2005-08-19 14:45:47.000000000 +0200
+++ xorg-x11-6.9/xc/lib/Xft/xftglyphs.c	2005-08-19 15:08:13.000000000 +0200
@@ -24,6 +24,9 @@
 
 #include "xftint.h"
 #include <freetype/ftoutln.h>
+#if HAVE_FT_GLYPHSLOT_EMBOLDEN
+#include <freetype/ftsynth.h>
+#endif
 
 static const int    filters[3][3] = {
     /* red */
--- xorg-x11-6.9/xc/lib/Xft/Imakefile.embold	2005-07-21 00:39:52.000000000 +0200
+++ xorg-x11-6.9/xc/lib/Xft/Imakefile	2005-08-19 13:40:43.000000000 +0200
@@ -45,7 +45,7 @@
 WARNINGS=-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
 #endif
 INCLUDES=$(FONTCONFIGINCLUDES) $(FREETYPE2INCLUDES) -I$(XBUILDINCDIR) $(WARNINGS)
-DEFINES=$(FREETYPE2DEFINES) $(RENDERDEFINES) -DXFREE86_FT2
+DEFINES=$(FREETYPE2DEFINES) $(RENDERDEFINES) -DXFREE86_FT2 -DHAVE_STRING_H -DHAVE_STRINGS_H -DHAVE_FT_GLYPHSLOT_EMBOLDEN
 
 XFT_REVISION=7
 XFT_VERSION=2.1.$(XFT_REVISION)
