From 3bc1cd92c8ac30f7cb6d51ec923a5830de244a03 Mon Sep 17 00:00:00 2001 From: Georg Hopp Date: Sun, 13 May 2012 10:48:52 +0200 Subject: [PATCH] another fix for 2.2/2.4 version handling --- mod_entropy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod_entropy.c b/mod_entropy.c index 448ea8c..7ceef76 100644 --- a/mod_entropy.c +++ b/mod_entropy.c @@ -35,6 +35,7 @@ #include "http_config.h" #include "http_core.h" #include "http_log.h" +#include "ap_release.h" #include "apu.h" #include "apr_general.h" #include "apr_sha1.h" @@ -98,7 +99,7 @@ entropy_filter_in( /** * add client ip to sha1 */ -#if 4 > HTTP_VERSION_MINOR(number) +#if 4 > AP_SERVER_MINORVERSION_NUMBER remote_ip = connection->remote_ip; #else remote_ip = connection->client_ip;