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