summaryrefslogtreecommitdiffstats
path: root/support/ab.c
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2000-12-22 01:02:52 +0100
committerRyan Bloom <rbb@apache.org>2000-12-22 01:02:52 +0100
commit00ec6af4a5f81eb889f48c06d202156f801987e4 (patch)
treeaf8d811a026a08e6f07f81551a2507556a035742 /support/ab.c
parentPlace a note in some of the files that contain obsolete information. (diff)
downloadapache2-00ec6af4a5f81eb889f48c06d202156f801987e4.tar.xz
apache2-00ec6af4a5f81eb889f48c06d202156f801987e4.zip
Cleanups so that the support programs build cleanly. The Win32 values
need to be sanity checked. Submitted by: Cliff Woolley <cliffwoolley@yahoo.com> Reviewed by: Ryan Bloom git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87506 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/ab.c')
-rw-r--r--support/ab.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/support/ab.c b/support/ab.c
index 9f6bf442be..da2a5d6961 100644
--- a/support/ab.c
+++ b/support/ab.c
@@ -125,6 +125,9 @@
#if APR_HAVE_STDIO_H
#include <stdio.h> /* for EOF */
#endif
+#if APR_HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
#include "ap_base64.h"
#ifdef NOT_ASCII
@@ -893,14 +896,14 @@ static void test(void)
static void copyright(void)
{
if (!use_html) {
- printf("This is ApacheBench, Version %s\n", AB_VERSION " <$Revision: 1.45 $> apache-2.0");
+ printf("This is ApacheBench, Version %s\n", AB_VERSION " <$Revision: 1.46 $> apache-2.0");
printf("Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\n");
printf("Copyright (c) 1998-2000 The Apache Software Foundation, http://www.apache.org/\n");
printf("\n");
}
else {
printf("<p>\n");
- printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-2.0<br>\n", AB_VERSION, "$Revision: 1.45 $");
+ printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-2.0<br>\n", AB_VERSION, "$Revision: 1.46 $");
printf(" Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br>\n");
printf(" Copyright (c) 1998-2000 The Apache Software Foundation, http://www.apache.org/<br>\n");
printf("</p>\n<p>\n");