Index: trunk/xcache.h
===================================================================
--- trunk/xcache.h	(revision 263)
+++ trunk/xcache.h	(revision 268)
@@ -128,4 +128,6 @@
 		add_assoc_zval_ex(arg, key, key_len, value)
 
+#	define zend_u_is_auto_global(type, name, name_len) \
+		zend_is_auto_global(name, name_len)
 #endif
 /* }}} */
@@ -221,4 +223,15 @@
 } xc_funcinfo_t;
 /* }}} */
+#ifdef ZEND_ENGINE_2_1
+/* {{{ xc_autoglobal_t */
+typedef struct {
+#ifdef IS_UNICODE
+	zend_uchar type;
+#endif
+	zstr       key;
+	zend_uint  key_len;
+} xc_autoglobal_t;
+/* }}} */
+#endif
 typedef enum { XC_TYPE_PHP, XC_TYPE_VAR } xc_entry_type_t;
 /* {{{ xc_entry_data_php_t */
@@ -244,4 +257,9 @@
 	xc_classinfo_t *classinfos;
 	zend_bool have_early_binding;
+
+#ifdef ZEND_ENGINE_2_1
+	zend_uint autoglobal_cnt;
+	xc_autoglobal_t *autoglobals;
+#endif
 } xc_entry_data_php_t;
 /* }}} */
