--- a/scripts/php-config.in.orig	2005-03-16 00:37:03.000000000 -0600
+++ b/scripts/php-config.in	2009-10-06 01:58:17.000000000 -0500
@@ -3,7 +3,7 @@
 prefix="@prefix@"
 version="@PHP_VERSION@"
 includedir="@includedir@/php"
-includes="-I$includedir -I$includedir/main -I$includedir/TSRM -I$includedir/Zend"
+includes="-I$includedir -I$includedir/main -I$includedir/TSRM -I$includedir/Zend -I@prefix@/include"
 ldflags="@PHP_LDFLAGS@"
 libs="@EXTRA_LIBS@"
 extension_dir='@EXTENSION_DIR@'
