From: Cliff Woolley Date: Tue, 16 Jul 2002 23:58:56 +0000 (+0000) Subject: header files should include everything they need to compile X-Git-Tag: 2.0.40~207 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb1efcfb7fdef43dc4026130ba63eab1e9d86b97;p=thirdparty%2Fapache%2Fhttpd.git header files should include everything they need to compile git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96088 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/experimental/cache_pqueue.h b/modules/experimental/cache_pqueue.h index 286d6b94a78..a650f44dac2 100644 --- a/modules/experimental/cache_pqueue.h +++ b/modules/experimental/cache_pqueue.h @@ -59,6 +59,13 @@ #ifndef CACHE_PQUEUE_H #define CACHE_PQUEUE_H +#include +#include + +#if APR_HAVE_STDIO_H +#include +#endif + #ifdef __cplusplus extern "C" { #endif @@ -99,7 +106,7 @@ typedef void cache_pqueue_print_entry(FILE *out, void *a); * @Return the handle or NULL for insufficent memory */ cache_pqueue_t *cache_pq_init(apr_ssize_t n, - cache_pqueue_get_priority* pri, + cache_pqueue_get_priority *pri, cache_pqueue_getpos get, cache_pqueue_setpos set); /** @@ -119,7 +126,7 @@ apr_ssize_t cache_pq_size(cache_pqueue_t *q); * @param d the item * @return APR_SUCCESS on success */ -apr_status_t cache_pq_insert(cache_pqueue_t *q, void* d); +apr_status_t cache_pq_insert(cache_pqueue_t *q, void *d); /* * move a existing entry to a different priority