Index: /trunk/ChangeLog
===================================================================
--- /trunk/ChangeLog	(revision 472)
+++ /trunk/ChangeLog	(revision 492)
@@ -6,4 +6,5 @@
 ChangeLog
 ========
+ * added module dependency
  * live with wrong system time: allow caching files with mtime in further
  * bug fix for compatibility with Zend Optimizer and other non-cachable
Index: /trunk/xcache.c
===================================================================
--- /trunk/xcache.c	(revision 488)
+++ /trunk/xcache.c	(revision 492)
@@ -2930,9 +2930,26 @@
 }
 /* }}} */
+/* {{{ module dependencies */
+#if ZEND_MODULE_API_NO >= 20050922
+static const zend_module_dep xcache_module_deps[] = {
+	ZEND_MOD_REQUIRED("standard")
+	ZEND_MOD_CONFLICTS("apc")
+	ZEND_MOD_CONFLICTS("eAccelerator")
+	ZEND_MOD_CONFLICTS("Turck MMCache")
+	{NULL, NULL, NULL}
+};
+#endif
+/* }}} */ 
 /* {{{ module definition structure */
 
 zend_module_entry xcache_module_entry = {
+#if ZEND_MODULE_API_NO >= 20050922
+	STANDARD_MODULE_HEADER_EX,
+	NULL,
+	xcache_module_deps,
+#else
 	STANDARD_MODULE_HEADER,
-	"XCache",
+#endif
+	XCACHE_NAME,
 	xcache_functions,
 	PHP_MINIT(xcache),
