From 32bc13995eb64834b691bd5818432a390d69d836 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Thu, 10 Jul 2003 19:16:35 +0000 Subject: [PATCH] Pick up getpid() prototype. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100539 13f79535-47bb-0310-9956-ffa450edef68 --- support/ab.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/support/ab.c b/support/ab.c index d17902ee24..059f4c2fc0 100644 --- a/support/ab.c +++ b/support/ab.c @@ -186,6 +186,9 @@ #if APR_HAVE_STDLIB_H #include #endif +#if APR_HAVE_UNISTD_H +#include /* for getpid() */ +#endif #if !defined(WIN32) && !defined(NETWARE) #include "ap_config_auto.h" @@ -1790,14 +1793,14 @@ static void test(void) static void copyright(void) { if (!use_html) { - printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.125 $> apache-2.0"); + printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.126 $> apache-2.0"); printf("Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\n"); printf("Copyright (c) 1998-2002 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", AP_AB_BASEREVISION, "$Revision: 1.125 $"); + printf(" This is ApacheBench, Version %s <%s> apache-2.0
\n", AP_AB_BASEREVISION, "$Revision: 1.126 $"); printf(" Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
\n"); printf(" Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/
\n"); printf("

\n

\n"); -- 2.50.1