From: Stefan Eissing Date: Wed, 25 Nov 2015 17:02:11 +0000 (+0000) Subject: adding include for older apr versions X-Git-Tag: 2.5.0-alpha~2585 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6b3dc9062954081d7d11b02cb001d864935fc818;p=apache adding include for older apr versions git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1716487 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http2/h2_config.c b/modules/http2/h2_config.c index 0e184d880b..11f9b0a609 100644 --- a/modules/http2/h2_config.c +++ b/modules/http2/h2_config.c @@ -15,6 +15,7 @@ #include +#include #include #include diff --git a/modules/http2/h2_config.h b/modules/http2/h2_config.h index 2298e0e583..3d85ec247d 100644 --- a/modules/http2/h2_config.h +++ b/modules/http2/h2_config.h @@ -41,6 +41,7 @@ typedef enum { H2_CONF_PUSH, } h2_config_var_t; +struct apr_hash_t; struct h2_priority; /* Apache httpd module configuration for h2. */ @@ -63,7 +64,7 @@ typedef struct h2_config { apr_int64_t tls_warmup_size; /* Amount of TLS data to send before going full write size */ int tls_cooldown_secs; /* Seconds of idle time before going back to small TLS records */ int h2_push; /* if HTTP/2 server push is enabled */ - apr_hash_t *priorities; /* map of content-type to h2_priority records */ + struct apr_hash_t *priorities;/* map of content-type to h2_priority records */ } h2_config;