From 00ec6af4a5f81eb889f48c06d202156f801987e4 Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Fri, 22 Dec 2000 00:02:52 +0000 Subject: [PATCH] Cleanups so that the support programs build cleanly. The Win32 values need to be sanity checked. Submitted by: Cliff Woolley Reviewed by: Ryan Bloom git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87506 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 3 +++ support/ab.c | 7 +++++-- support/htpasswd.c | 9 +++++++++ support/logresolve.c | 6 ++++++ 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 ] + *) 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 /* for EOF */ #endif +#if APR_HAVE_STDLIB_H +#include +#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("

\n"); - printf(" This is ApacheBench, Version %s <%s> apache-2.0
\n", AB_VERSION, "$Revision: 1.45 $"); + printf(" This is ApacheBench, Version %s <%s> apache-2.0
\n", AB_VERSION, "$Revision: 1.46 $"); 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

\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 #endif +#if APR_HAVE_STDLIB_H +#include +#endif +#if APR_HAVE_STRING_H +#include +#endif +#if APR_HAVE_UNISTD_H +#include +#endif #ifdef WIN32 #include 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 #endif +#if APR_HAVE_STDLIB_H +#include +#endif #if APR_HAVE_CTYPE_H #include #endif @@ -52,6 +55,9 @@ #if APR_HAVE_NETINET_IN_H #include #endif +#if APR_HAVE_STRING_H +#include +#endif #if APR_HAVE_SYS_SOCKET_H #include #endif -- 2.50.1