Index: trunk/xcache.c
===================================================================
--- trunk/xcache.c	(revision 937)
+++ trunk/xcache.c	(revision 938)
@@ -1810,6 +1810,6 @@
 	/* }}} */
 #ifdef XCACHE_ERROR_CACHING
-	compiler->new_php.compilererrors = xc_sandbox_compilererrors();
-	compiler->new_php.compilererror_cnt = xc_sandbox_compilererror_cnt();
+	compiler->new_php.compilererrors = xc_sandbox_compilererrors(TSRMLS_C);
+	compiler->new_php.compilererror_cnt = xc_sandbox_compilererror_cnt(TSRMLS_C);
 #endif
 #ifndef ZEND_COMPILE_DELAYED_BINDING
