Index: trunk/mod_cacher/xc_cacher.c
===================================================================
--- trunk/mod_cacher/xc_cacher.c	(revision 1047)
+++ trunk/mod_cacher/xc_cacher.c	(revision 1051)
@@ -9,4 +9,5 @@
 /* {{{ macros */
 #include "xc_cacher.h"
+#include "xc_cache.h"
 #include "xcache.h"
 #include "xc_processor.h"
@@ -29,4 +30,6 @@
 #include "SAPI.h"
 
+#define ECALLOC_N(x, n) ((x) = ecalloc(n, sizeof((x)[0])))
+#define ECALLOC_ONE(x) ECALLOC_N(x, 1)
 #define VAR_ENTRY_EXPIRED(pentry) ((pentry)->ttl && XG(request_time) > (pentry)->ctime + (time_t) (pentry)->ttl)
 #define CHECK(x, e) do { if ((x) == NULL) { zend_error(E_ERROR, "XCache: " e); goto err; } } while (0)
@@ -54,4 +57,12 @@
 	} \
 } while(0)
+/* }}} */
+
+/* {{{ types */
+struct _xc_hash_t {
+	size_t bits;
+	size_t size;
+	xc_hash_value_t mask;
+};
 /* }}} */
 
