mod_deflate in httpd-2.2.29 is using APR_INT32_MAX which is only
available since APR-1.3.

However httpd-2.x seems to require APR-1.2 only
(http://httpd.apache.org/docs/2.2/install.html#requirements).

Should we apply something like :

Index: modules/filters/mod_deflate.c
===================================================================
--- modules/filters/mod_deflate.c    (revision 1635743)
+++ modules/filters/mod_deflate.c    (working copy)
@@ -47,6 +47,10 @@
 #define APR_WANT_STRFUNC
 #include "apr_want.h"

+#ifndef APR_INT32_MAX
+#define APR_INT32_MAX 0x7fffffff
+#endif
+
 #include "zlib.h"

 static const char deflateFilterName[] = "DEFLATE";
?

Regards,
Yann.

Reply via email to