Index: /trunk/xcache.c
===================================================================
--- /trunk/xcache.c	(revision 875)
+++ /trunk/xcache.c	(revision 876)
@@ -971,4 +971,5 @@
 }
 /* }}} */
+#ifndef ZEND_ENGINE_2_3
 static XC_INCLUDE_PATH_XSTAT_FUNC(xc_stat_file) /* {{{ */
 {
@@ -983,4 +984,5 @@
 }
 /* }}} */
+#endif
 typedef struct xc_entry_find_include_path_data_t { /* {{{ */
 	xc_compiler_t *compiler;
@@ -1889,5 +1891,4 @@
 	xc_sandbox_t sandbox;
 	xc_cache_t *cache = xc_php_caches[compiler->entry_hash.cacheid];
-	struct stat statbuf;
 
 	/* stale clogs precheck */
@@ -2086,5 +2087,5 @@
 #ifdef ZEND_ENGINE_2_3
 	 /* supported by php_resolve_path */
-	 || !XG(stat) && strstr(PG(include_path), "://") != NULL
+	 || (!XG(stat) && strstr(PG(include_path), "://") != NULL)
 #else
 	 || strstr(PG(include_path), "://") != NULL
