]> granicus.if.org Git - apache/commitdiff
adding include for older apr versions
authorStefan Eissing <icing@apache.org>
Wed, 25 Nov 2015 17:02:11 +0000 (17:02 +0000)
committerStefan Eissing <icing@apache.org>
Wed, 25 Nov 2015 17:02:11 +0000 (17:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1716487 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_config.c
modules/http2/h2_config.h

index 0e184d880b04563def491e160c1bc9beba79c2d1..11f9b0a609534a827f83516c04bab9fbbeae59ef 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <assert.h>
 
+#include <apr_hash.h>
 #include <apr_lib.h>
 
 #include <httpd.h>
index 2298e0e583fda9c5ce7949c1712d4411ccdd3531..3d85ec247d3b9ef3aa7ab0eb4924b74699053cf2 100644 (file)
@@ -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;