Index: /branches/1.2/ChangeLog
===================================================================
--- /branches/1.2/ChangeLog	(revision 489)
+++ /branches/1.2/ChangeLog	(revision 490)
@@ -1,4 +1,5 @@
 1.2.2 2007-12-29
 == 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: /branches/1.2/xcache.c
===================================================================
--- /branches/1.2/xcache.c	(revision 489)
+++ /branches/1.2/xcache.c	(revision 490)
@@ -2761,8 +2761,25 @@
 }
 /* }}} */
+/* {{{ 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,
+#endif
 	XCACHE_NAME,
 	xcache_functions,
