--- xpdf-3.00/configure.orig	2004-01-21 20:26:44.000000000 -0500
+++ xpdf-3.00/configure	2004-05-14 15:57:08.000000000 -0400
@@ -9124,6 +9124,7 @@
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 $ac_includes_default
+#include <ft2build.h>
 #include <$ac_header>
 _ACEOF
 rm -f conftest.$ac_objext
@@ -9159,6 +9160,7 @@
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
+#include <ft2build.h>
 #include <$ac_header>
 _ACEOF
 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
@@ -9483,6 +9485,7 @@
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 $ac_includes_default
+#include <ft2build.h>
 #include <$ac_header>
 _ACEOF
 rm -f conftest.$ac_objext
--- xpdf-3.00/splash/SplashFTFontFile.h.orig	2004-01-21 20:26:44.000000000 -0500
+++ xpdf-3.00/splash/SplashFTFontFile.h	2004-05-14 16:01:43.000000000 -0400
@@ -15,6 +15,7 @@
 #pragma interface
 #endif
 
+#include <ft2build.h>
 #include <freetype/freetype.h>
 #include "SplashFontFile.h"
 
--- xpdf-3.00/splash/SplashFTFontEngine.h.orig	2004-01-21 20:26:44.000000000 -0500
+++ xpdf-3.00/splash/SplashFTFontEngine.h	2004-05-14 16:02:15.000000000 -0400
@@ -15,6 +15,7 @@
 #pragma interface
 #endif
 
+#include <ft2build.h>
 #include <freetype/freetype.h>
 #include "gtypes.h"
 
