You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/05/17 17:52:21 UTC
DO NOT REPLY [Bug 45024] ab.c will not compile on VC6
https://issues.apache.org/bugzilla/show_bug.cgi?id=45024
Ruediger Pluem <rp...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #1 from Ruediger Pluem <rp...@apache.org> 2008-05-17 08:52:21 PST ---
So does the following patch fix your problem:
Index: support/ab.c
===================================================================
--- support/ab.c (Revision 657321)
+++ support/ab.c (Arbeitskopie)
@@ -193,6 +193,9 @@
#if APR_HAVE_CTYPE_H
#include <ctype.h>
#endif
+#if APR_HAVE_LIMITS_H
+#include <limits.h>
+#endif
/* ------------------- DEFINITIONS -------------------------- */
@@ -426,7 +429,6 @@
}
#ifndef RAND_MAX
-#include <limits.h>
#define RAND_MAX INT_MAX
#endif
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org