At the moment, htcacheclean.c does not compile because it includes
mod_disk_cache.h (which in turn needs apr_buckets.h included for
the typedef of apr_bucket_refcount), but apr_buckets.h is not included
anywhere.

The attached patch fixes the problem, but: is it okay to include
apr_buckets.h from htcacheclean.c, or should it better be included
from mod_disk_cache.h ?

  Martin
-- 
<[EMAIL PROTECTED]>         |     Fujitsu Siemens
Fon: +49-89-636-46021, FAX: +49-89-636-48332 | 81730  Munich,  Germany
Index: support/htcacheclean.c
===================================================================
--- support/htcacheclean.c      (Revision 464498)
+++ support/htcacheclean.c      (Arbeitskopie)
@@ -34,6 +34,7 @@
 #include "apr_getopt.h"
 #include "apr_ring.h"
 #include "apr_date.h"
+#include "apr_buckets.h"
 #include "../modules/cache/mod_disk_cache.h"
 
 #if APR_HAVE_UNISTD_H

Reply via email to