From: Roy T. Fielding Date: Tue, 27 May 2008 21:00:16 +0000 (+0000) Subject: Backport r657433 by rpluem X-Git-Tag: 2.2.9~106 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2714db62f0cb9e5d338c44577ee1e4cd942f74d5;p=thirdparty%2Fapache%2Fhttpd.git Backport r657433 by rpluem * Include earlier if available since INT_MAX is defined there on Windows and we need INT_MAX already for the definition of MAX_REQUESTS. PR: 45024 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@660702 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/ab.c b/support/ab.c index 0bada081017..2f589e831a7 100644 --- a/support/ab.c +++ b/support/ab.c @@ -193,6 +193,9 @@ typedef STACK_OF(X509) X509_STACK_TYPE; #if APR_HAVE_CTYPE_H #include #endif +#if APR_HAVE_LIMITS_H +#include +#endif /* ------------------- DEFINITIONS -------------------------- */ @@ -426,7 +429,6 @@ static void ssl_state_cb(const SSL *s, int w, int r) } #ifndef RAND_MAX -#include #define RAND_MAX INT_MAX #endif