2067da
--- php-5.2.0/configure.in.includedir
2067da
+++ php-5.2.0/configure.in
2067da
@@ -1101,7 +1101,7 @@
2067da
 EXPANDED_DATADIR=$datadir
2067da
 EXPANDED_PHP_CONFIG_FILE_PATH=`eval echo "$PHP_CONFIG_FILE_PATH"`
2067da
 EXPANDED_PHP_CONFIG_FILE_SCAN_DIR=`eval echo "$PHP_CONFIG_FILE_SCAN_DIR"`
2067da
-INCLUDE_PATH=.:$EXPANDED_PEAR_INSTALLDIR
2067da
+INCLUDE_PATH=.:$EXPANDED_PEAR_INSTALLDIR:${EXPANDED_DATADIR}/php
2067da
 
2067da
 exec_prefix=$old_exec_prefix
2067da
 libdir=$old_libdir