summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGES3
-rw-r--r--support/ab.c7
-rw-r--r--support/htpasswd.c9
-rw-r--r--support/logresolve.c6
4 files changed, 23 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 79e864f87f..7ebeb8f1f5 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,8 @@
Changes with Apache 2.0b1
+ *) Get the support programs building cleanly again.
+ [Cliff Woolley <cliffwoolley@yahoo.com>]
+
*) The Apache/Win32 Apache.exe and dll's now live in bin. The
current directory logic now backs up over bin/ to determine the
server root from the Apache.exe path.
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");
diff --git a/support/htpasswd.c b/support/htpasswd.c
index 8b1cde9c5a..d8e66536ac 100644
--- a/support/htpasswd.c
+++ b/support/htpasswd.c
@@ -100,6 +100,15 @@
#if APR_HAVE_CRYPT_H
#include <crypt.h>
#endif
+#if APR_HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+#if APR_HAVE_STRING_H
+#include <string.h>
+#endif
+#if APR_HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#ifdef WIN32
#include <conio.h>
diff --git a/support/logresolve.c b/support/logresolve.c
index aa708997f8..c88c355e8a 100644
--- a/support/logresolve.c
+++ b/support/logresolve.c
@@ -43,6 +43,9 @@
#if APR_HAVE_STDIO_H
#include <stdio.h>
#endif
+#if APR_HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
#if APR_HAVE_CTYPE_H
#include <ctype.h>
#endif
@@ -52,6 +55,9 @@
#if APR_HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
+#if APR_HAVE_STRING_H
+#include <string.h>
+#endif
#if APR_HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif